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