Kubernetes: Difference between revisions
Line 74: | Line 74: | ||
sudo systemctl restart containerd | sudo systemctl restart containerd | ||
# | # See https://kubernetes.io/docs/setup/production-environment/container-runtimes/#containerd-systemd | ||
sudo sed -i '/\[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options\]/a \ \ \ \ \ \ \ \ \ \ \ \ SystemdCgroup = true' /etc/containerd/config.toml | |||
# | |||
sudo systemctl restart containerd | sudo systemctl restart containerd | ||
</pre> | </pre> |