Kubeadm config image 阿里云镜像
参考:
谷歌k8s.gcr.io镜像快速传入阿里云镜像源的解决方案(需浏览器科学上网)
kubeadm config image 阿里云镜像
国内部署k8s
时去拉取镜像的友好脚本
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| images=( kube-apiserver:v1.13.2 kube-controller-manager:v1.13.2 kube-scheduler:v1.13.2 kube-proxy:v1.13.2 pause:3.1 etcd:3.2.24 coredns:1.2.6 ) for imageName in ${images[@]} ; do docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/${imageName} docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/${image} k8s.gcr.io/${imageName} docker rmi registry.cn-hangzhou.aliyuncs.com/google_containers/${imageName} done
|