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/google_containers

sudo kubeadm init --image-repository=registry.aliyuncs/google_containers --pod-network-cidr=10.244.0.0/16 --apiserver-advertise-address=192.168.1.6