当前位置:   article > 正文

Kubernetes:如何解决从k8s.gcr.io拉取镜像失败问题_"failed to pull image \"gcr.io/kubernetes-helm/til

"failed to pull image \"gcr.io/kubernetes-helm/tiller:v2.16.3\": rpc error: cod"

简介

新版本的Kubernetes在安装部署中,需要从k8s.grc.io仓库中拉取所需镜像文件,但由于国内网络防火墙问题导致无法正常拉取,本文将介绍如何绕过此问题,来完成业务的部署。

问题描述

使用Kubernetes V1.11.3版本部署集群业务,在进行kubeadm init时,需要从k8s.grc.io仓库拉取镜像:

  1. [preflight/images] You can also perform this action in beforehand using 'kubeadm config images pull'
  2. [preflight] Some fatal errors occurred:
  3. [ERROR ImagePull]: failed to pull image [k8s.gcr.io/kube-apiserver-amd64:v1.11.3]: exit status 1
  4. [ERROR ImagePull]: failed to pull image [k8s.gcr.io/kube-controller-manager-amd64:v1.11.3]: exit status 1
  5. [ERROR ImagePull]: failed to pull image [k8s.gcr.io/kube-scheduler-amd64:v1.11.3]: exit status 1
  6. [ERROR ImagePull]: failed to pull image [k8s.gcr.io/kube-proxy-amd64:v1.11.3]: exit status 1
  7. [ERROR ImagePull]: failed to pull image [k8s.gcr.io/pause:3.1]: exit status 1
  8. [ERROR ImagePull]: failed to pull image [k8s.gcr.io/etcd-amd64:3.2.18]: exit status 1
  9. [ERROR ImagePu
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/246650
推荐阅读
相关标签
  

闽ICP备14008679号