1、关闭相关服务
systemctl stop kubelet
systemctl stop docker
systemctl stop docker.socket
systemctl disable docker
systemctl stop containerd
2、创建containerd配置文件
sudo mkdir -p /etc/containerd
containerd config default | sudo tee /etc/containerd/config.toml
3、修改container配置
vi /etc/containerd/config.toml
sed -i s#k8s.gcr.io/pause:3.5#registry.aliyuncs.com/google_containers/pause:3.5#g /etc/containerd/config.toml
sed -i s