Summary
I've observed that once the load-balancer is set to true, setting to false it doesn't remove the resources that were deployed in the metallb-system
What Should Happen Instead?
As a user I would expect to have the metallb-system ns and resources deleted from the cluster if I run a command like:
sudo k8s set load-balancer.l2-mode=false
Reproduction Steps
- sudo snap install k8s --classic --channel=1.33-classic/stable
- sudo k8s bootstrap
- sudo k8s set load-balancer.l2-mode=true . Wait a little bit and the
metallb-system ns will appear
- sudo k8s set load-balancer.l2-mode=false.
metallb-system ns still present in the cluster
System information
- k8s on channel 1.33-classic/stable
- Ubuntu 24.04