File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,12 +30,6 @@ write_files:
3030 permissions : 0644
3131 owner : root
3232 content : |
33- # installed by cloud-init
34- oom_score = -999
35-
36- [cgroup]
37- path = "/runtime"
38-
3933 [plugins.linux]
4034 shim = "/home/containerd/usr/local/bin/containerd-shim"
4135 runtime = "/home/containerd/usr/local/sbin/runc"
@@ -61,6 +55,7 @@ write_files:
6155 RestartSec=5
6256 Delegate=yes
6357 KillMode=process
58+ OOMScoreAdjust=-999
6459 LimitNOFILE=1048576
6560 # Having non-zero Limit*s causes performance problems due to accounting overhead
6661 # in the kernel. We recommend using cgroups to do container-local accounting.
Original file line number Diff line number Diff line change @@ -28,12 +28,6 @@ write_files:
2828 permissions : 0644
2929 owner : root
3030 content : |
31- # installed by cloud-init
32- oom_score = -999
33-
34- [cgroup]
35- path = "/runtime"
36-
3731 [plugins.linux]
3832 shim = "/home/containerd/usr/local/bin/containerd-shim"
3933 runtime = "/home/containerd/usr/local/sbin/runc"
@@ -59,6 +53,7 @@ write_files:
5953 RestartSec=5
6054 Delegate=yes
6155 KillMode=process
56+ OOMScoreAdjust=-999
6257 LimitNOFILE=1048576
6358 # Having non-zero Limit*s causes performance problems due to accounting overhead
6459 # in the kernel. We recommend using cgroups to do container-local accounting.
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ export KUBE_CONTAINER_RUNTIME_ENDPOINT="/run/containerd/containerd.sock"
1515export KUBE_LOAD_IMAGE_COMMAND=" /home/containerd/usr/local/bin/ctr cri load"
1616export NETWORK_POLICY_PROVIDER=" calico"
1717export NON_MASQUERADE_CIDR=" 0.0.0.0/0"
18- export KUBE_KUBELET_EXTRA_ARGS=" --runtime-cgroups=/runtime "
18+ export KUBE_KUBELET_EXTRA_ARGS=" --runtime-cgroups=/system.slice/containerd.service "
1919export KUBE_FEATURE_GATES=" ExperimentalCriticalPodAnnotation=true,CRIContainerLogRotation=true"
You can’t perform that action at this time.
0 commit comments