kubeadm安装新版本的Kubernetes过程中,需要从k8s.grc.io仓库中拉取所需镜像文件,但由于G-F-W导致无法正常拉取,本文将介绍如何绕过此问题,来完成业务的部署。
[ERROR ImagePull]: failed to pull image k8s.gcr.io/kube-apiserver:v1.13.2
[ERROR ImagePull]: failed to pull image k8s.gcr.io/kube-controller-manager:v1.13.2
[ERROR ImagePull]: failed to pull image k8s.gcr.io/kube-scheduler:v1.13.2
[ERROR ImagePull]: failed to pull image k8s.gcr.io/kube-proxy:v1.13.2
[ERROR ImagePull]: failed to pull image k8s.gcr.io/pause:3.1
[ERROR ImagePull]: failed to pull image k8s.gcr.io/etcd:3.2.24
[ERROR ImagePull]: failed to pull image k8s.gcr.io/coredns:1.2.6
解决方案
- docker.io仓库对google的容器做了镜像,可以通过下列命令下拉取相关镜像:
docker pull mirrorgooglecontainers/kube-apiserver:v1.13.2
docker pull mirrorgooglecontainers/kube-controller-manager:v1.13.2
docker pull mirrorgooglecontainers/kube-scheduler:v1.13.2

在kubeadm安装Kubernetes新版本时,由于GFW导致无法从k8s.gcr.io拉取镜像。文章提供了解决方案,利用docker.io仓库的镜像来替代,通过docker tag命令重新标记镜像。

4417

被折叠的 条评论
为什么被折叠?



