炫意html5
最早CSS3和HTML5移动技术网站之一

升级 k8s 时遭遇”pull image registry.aliyuncs.com/google_containers/coredns:v1.8.0″错误

通过下面的命令升级 k8s

kubeadm upgrade apply 1.21.3 --ignore-preflight-errors=CoreDNSUnsupportedPlugins

升级过程中从 registry.aliyuncs.com 拉取 coredns:v1.8.0 镜像失败

[preflight] Some fatal errors occurred:
[ERROR ImagePull]: 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

请问如何解决?

回答

曲线救镜像

docker pull coredns/coredns:1.8.0
docker tag coredns/coredns:1.8.0 registry.aliyuncs.com/google_containers/coredns:v1.8.0

炫意HTML5 » 升级 k8s 时遭遇”pull image registry.aliyuncs.com/google_containers/coredns:v1.8.0″错误

Java基础教程Android基础教程