3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/cluster
Euan Kemp f158ac45ef nixos/k3s: use default cgroup-driver again
Setting `cgroup-driver=systemd` was originally necessary to match with
docker, else the kubelet would not start (#111835)

However, since then, docker support has been dropped from k3s (#177790).
As such, this option is much less necessary.

More importantly, it now seems to be actively causing issues. Due to an
upstream k3s bug, it's resulting in the kubelet and containerd having
different cgroup drivers, which seems to result in some difficult to
debug failure modes.

See
https://github.com/NixOS/nixpkgs/issues/181790#issuecomment-1188840862
for a description of this problem.

Removing this flag entirely seems reasonable to me, and it results in
k3s working again on my machine.
2022-07-19 02:52:12 -07:00
..
corosync nixos: init corosync, pacemaker modules 2022-03-08 20:28:56 +01:00
hadoop nixos/hadoop: add module options for commonly used service configs 2022-03-11 14:26:57 +05:30
k3s nixos/k3s: use default cgroup-driver again 2022-07-19 02:52:12 -07:00
kubernetes nixos/kubernetes: use copyToRoot instead of deprecated contents 2022-07-15 10:23:06 +10:00
pacemaker nixos: init corosync, pacemaker modules 2022-03-08 20:28:56 +01:00
spark nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00