We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39200b8 commit c6918e9Copy full SHA for c6918e9
terraform/modules/k8s-cluster/master.sh
@@ -23,7 +23,13 @@ wget https://raw.githubusercontent.com/containerd/containerd/main/containerd.ser
23
mkdir -p /usr/local/lib/systemd/system
24
mv containerd.service /usr/local/lib/systemd/system/containerd.service
25
systemctl daemon-reload
26
+
27
+mkdir -p /etc/containerd
28
+containerd config default | sudo tee /etc/containerd/config.toml > /dev/null
29
+sed -i 's/SystemdCgroup = false/SystemdCgroup = true/' /etc/containerd/config.toml
30
31
systemctl enable --now containerd
32
+systemctl restart containerd
33
34
# Install Runc
35
echo "-------------Installing Runc-------------"
0 commit comments