vi /usr/lib/systemd/system/cri-docker.service
[Service]
Type=notify
ExecStart=/usr/bin/cri-dockerd --pod-infra-container-image=registry.aliyuncs.com/google_containers/pause:3.8 --container-runtime-endpoint fd://
注意不是反复检查主机名,而是添加pod-infra-container-image=registry.aliyuncs.com/google_containers/pause:3.8
当然如果安装k8s v1.26 那么 pause版本就是3.9
所有评论(0)