本文主要是介绍kubeadm init 出错:[ERRORImagePull]:failed to pull image k8s.gcr.io.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
kubeadm init 出错:ERRORImagePull:failed to pull image k8s.gcr.io…
访问镜像超时
使用阿里云镜像
运行kubeadm init时加上阿里云镜像的参数:
–image-repository=registry.aliyuncs.com/google_containers
sudo kubeadm init --image-repository=registry.aliyuncs.com/google_containers --pod-network-cidr=10.244.0.0/16 --apiserver-advertise-address=192.168.1.6
这篇关于kubeadm init 出错:[ERRORImagePull]:failed to pull image k8s.gcr.io.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!