diff --git a/test/infrastructure/docker/templates/cluster-template-development.yaml b/test/infrastructure/docker/templates/cluster-template-development.yaml index dcb3845e41b6..c64bafc0576d 100644 --- a/test/infrastructure/docker/templates/cluster-template-development.yaml +++ b/test/infrastructure/docker/templates/cluster-template-development.yaml @@ -51,18 +51,12 @@ spec: # We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found criSocket: unix:///var/run/containerd/containerd.sock kubeletExtraArgs: - # We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd - # kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726 - cgroup-driver: cgroupfs eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%' joinConfiguration: nodeRegistration: # We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found criSocket: unix:///var/run/containerd/containerd.sock kubeletExtraArgs: - # We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd - # kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726 - cgroup-driver: cgroupfs eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%' version: "${KUBERNETES_VERSION}" --- @@ -103,9 +97,6 @@ spec: # We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found criSocket: unix:///var/run/containerd/containerd.sock kubeletExtraArgs: - # We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd - # kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726 - cgroup-driver: cgroupfs eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%' --- apiVersion: cluster.x-k8s.io/v1beta1 diff --git a/test/infrastructure/docker/templates/clusterclass-quick-start.yaml b/test/infrastructure/docker/templates/clusterclass-quick-start.yaml index 104abc5d0890..e1941733e643 100644 --- a/test/infrastructure/docker/templates/clusterclass-quick-start.yaml +++ b/test/infrastructure/docker/templates/clusterclass-quick-start.yaml @@ -222,18 +222,12 @@ spec: # We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found criSocket: unix:///var/run/containerd/containerd.sock kubeletExtraArgs: - # We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd - # kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726 - cgroup-driver: cgroupfs eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%' joinConfiguration: nodeRegistration: # We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found criSocket: unix:///var/run/containerd/containerd.sock kubeletExtraArgs: - # We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd - # kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726 - cgroup-driver: cgroupfs eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%' --- apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 @@ -270,8 +264,5 @@ spec: # We have to set the criSocket to containerd as kubeadm defaults to docker runtime if both containerd and docker sockets are found criSocket: unix:///var/run/containerd/containerd.sock kubeletExtraArgs: - # We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd - # kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726 - cgroup-driver: cgroupfs eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'