diff --git a/nixos/modules/services/cluster/kubernetes/default.nix b/nixos/modules/services/cluster/kubernetes/default.nix index f56a529afdf6..aeaa6bd66c99 100644 --- a/nixos/modules/services/cluster/kubernetes/default.nix +++ b/nixos/modules/services/cluster/kubernetes/default.nix @@ -838,6 +838,8 @@ in { path = with pkgs; [ gitMinimal openssh docker utillinux iproute ethtool thin-provisioning-tools iptables socat ] ++ cfg.path; serviceConfig = { Slice = "kubernetes.slice"; + CPUAccounting = true; + MemoryAccounting = true; ExecStart = ''${cfg.package}/bin/kubelet \ ${optionalString (taints != "") "--register-with-taints=${taints}"} \