Skip to content

Commit 04da2b4

Browse files
remove cgroup from templates
1 parent 128264e commit 04da2b4

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

test/infrastructure/docker/templates/cluster-template-development.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,12 @@ spec:
5151
# We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found
5252
criSocket: unix:///var/run/containerd/containerd.sock
5353
kubeletExtraArgs:
54-
# We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd
55-
# kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726
56-
cgroup-driver: cgroupfs
5754
eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
5855
joinConfiguration:
5956
nodeRegistration:
6057
# We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found
6158
criSocket: unix:///var/run/containerd/containerd.sock
6259
kubeletExtraArgs:
63-
# We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd
64-
# kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726
65-
cgroup-driver: cgroupfs
6660
eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
6761
version: "${KUBERNETES_VERSION}"
6862
---
@@ -103,9 +97,6 @@ spec:
10397
# We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found
10498
criSocket: unix:///var/run/containerd/containerd.sock
10599
kubeletExtraArgs:
106-
# We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd
107-
# kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726
108-
cgroup-driver: cgroupfs
109100
eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
110101
---
111102
apiVersion: cluster.x-k8s.io/v1beta1

test/infrastructure/docker/templates/clusterclass-quick-start.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -222,18 +222,12 @@ spec:
222222
# We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found
223223
criSocket: unix:///var/run/containerd/containerd.sock
224224
kubeletExtraArgs:
225-
# We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd
226-
# kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726
227-
cgroup-driver: cgroupfs
228225
eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
229226
joinConfiguration:
230227
nodeRegistration:
231228
# We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found
232229
criSocket: unix:///var/run/containerd/containerd.sock
233230
kubeletExtraArgs:
234-
# We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd
235-
# kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726
236-
cgroup-driver: cgroupfs
237231
eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
238232
---
239233
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
@@ -270,8 +264,5 @@ spec:
270264
# We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found
271265
criSocket: unix:///var/run/containerd/containerd.sock
272266
kubeletExtraArgs:
273-
# We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd
274-
# kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726
275-
cgroup-driver: cgroupfs
276267
eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
277268

0 commit comments

Comments
 (0)