Ubuntu下K8s解决问题:the sandbox image of the container runtime is inconsistent with that used by kubeadm

更改containerd配置/etc/containerd/config.toml

找到sandbox_image这一行,将其更改为提示要求版本

 sandbox_image = "registry.k8s.io/pause:3.9"#我的kubeadm中要求为3.9

重启containerd,加载配置,否则配置无效

systemctl restart containerd

猜你喜欢

转载自blog.csdn.net/tankssss/article/details/141205400