mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/kubernetes: fix kubelet cgroup stats
https://github.com/kubernetes/kubernetes/issues/56850
This commit is contained in:
parent
e858b285c8
commit
76c7cc0f30
1 changed files with 2 additions and 0 deletions
|
@ -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}"} \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue