Skip to content

Disabling load-balancer doesn't remove the metallb-system namespace #1703

@gabrielcocenza

Description

@gabrielcocenza

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

  1. sudo snap install k8s --classic --channel=1.33-classic/stable
  2. sudo k8s bootstrap
  3. sudo k8s set load-balancer.l2-mode=true . Wait a little bit and the metallb-system ns will appear
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions