> kubeadm config images pull --image-repository registry.aliyuncs.com/google_containers I0910 08:00:20.155181 16619 version.go:254] remote version is much newer: v1.22.1; falling back to: stable-1.21 [config/images] Pulled registry.aliyuncs.com/google_containers/kube-apiserver:v1.21.4 [config/images] Pulled registry.aliyuncs.com/google_containers/kube-controller-manager:v1.21.4 [config/images] Pulled registry.aliyuncs.com/google_containers/kube-scheduler:v1.21.4 [config/images] Pulled registry.aliyuncs.com/google_containers/kube-proxy:v1.21.4 [config/images] Pulled registry.aliyuncs.com/google_containers/pause:3.4.1 [config/images] Pulled registry.aliyuncs.com/google_containers/etcd:3.4.13-0 failed to pull image "registry.aliyuncs.com/google_containers/coredns:v1.8.0": output: Error response from daemon: manifest for registry.aliyuncs.com/google_containers/coredns:v1.8.0 not found: manifest unknown: manifest unknown , error: exit status 1 To see the stack trace of this error execute with --v=5 or higher
docker pull registry.aliyuncs.com/google_containers/coredns:1.8.0 docker tag registry.aliyuncs.com/google_containers/coredns:1.8.0 registry.aliyuncs.com/google_containers/coredns:v1.8.0
containerd方法如下:
1 2
crictl pull registry.aliyuncs.com/google_containers/coredns:1.8.0 ctr -n k8s.io i tag registry.aliyuncs.com/google_containers/coredns:1.8.0 registry.aliyuncs.com/google_containers/coredns:v1.8.0
然后在正常升级就可以了。
Failed to start ContainerManager异常
升级完成后,发现工作节点上,kubelet启动异常,如下:
1
Failed to start ContainerManager failed to initialise top level QOS containers