kubelet won't start on LXD with btrfs rootfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Worker Charm |
New
|
Undecided
|
Unassigned |
Bug Description
I tried deploying charmed kubernetes with juju on a debian bullseye server running snapd and LXD. Everything went well until it was time to wait for the worker nodes to register with the master.
Every worker node's kubelet was crash looping with an error along the lines of "Failed to start ContainerManager" err="failed to get rootfs info: failed to get device for dir \"/var/
It appears this can (at least sort-of temporarily) be worked around by setting passing --feature-
I suggest either adding this feature gate by default if the charm is being installed on LXD with a btrfs root or adding a way to pass feature gates with an overlay.