首页 新闻 会员 周边 捐助

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

0
悬赏园豆:30 [已解决问题] 解决于 2021-07-17 09:40

通过下面的命令升级 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

请问如何解决?

dudu的主页 dudu | 高人七级 | 园豆:30783
提问于:2021-07-17 09:20
< >
分享
最佳答案
0

曲线救镜像

docker pull coredns/coredns:1.8.0
docker tag coredns/coredns:1.8.0 registry.aliyuncs.com/google_containers/coredns:v1.8.0
dudu | 高人七级 |园豆:30783 | 2021-07-17 09:40
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册