Skip to content

Commit f1d2a2d

Browse files
committed
Set the kubelet cgroup driver to systemd (v2)
Signed-off-by: Anders F Björklund <[email protected]>
1 parent 386d32a commit f1d2a2d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/k8s.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ provision:
110110
- "127.0.0.1"
111111
networking:
112112
podSubnet: "10.244.0.0/16" # --pod-network-cidr
113+
---
114+
kind: KubeletConfiguration
115+
apiVersion: kubelet.config.k8s.io/v1beta1
116+
cgroupDriver: systemd
113117
EOF
114118
kubeadm init --config kubeadm-config.yaml
115119
# Installing a Pod network add-on

0 commit comments

Comments
 (0)