From e922fad91498310b2a169303d4510d325d979d2e Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Thu, 16 Sep 2021 13:05:01 +0200 Subject: [PATCH] kubelet: Disable cgroupsv2 for kubelet hosts --- nixos/modules/services/cluster/kubernetes/kubelet.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/cluster/kubernetes/kubelet.nix b/nixos/modules/services/cluster/kubernetes/kubelet.nix index 51b2b5f6eb0d..a5158369e09a 100644 --- a/nixos/modules/services/cluster/kubernetes/kubelet.nix +++ b/nixos/modules/services/cluster/kubernetes/kubelet.nix @@ -258,6 +258,8 @@ in "net.bridge.bridge-nf-call-ip6tables" = 1; }; + systemd.enableUnifiedCgroupHierarchy = false; # true breaks node memory metrics + systemd.services.kubelet = { description = "Kubernetes Kubelet Service"; wantedBy = [ "kubernetes.target" ];