-
Couldn't load subscription status.
- Fork 443
Description
k0s should have some smarts when defaulting the cgroup driver. On systemd based OS we should probably detect this and configure systemd driver to be used for both kubelet and containerd.
While the autodetection itself is probably straighforward, there's couple dragons hiding
User configured driver via workerProfile
User can configure the driver on the workerProfile since it essentially allows one to override the entire kubelet configuration. If user specifies something there, k0s should respect that and not do any auto detection
Upgrades
Since this is kinda new functionality we cannot change the driver "on-the-fly". If I'm running say 1.33.x and upgrade to 1.34.x, I don't want the driver to change on the fly. This would probably result in some confusion on kubelet/containerd level and might even break some things.