国内拉取 k8s 相关镜像
作者:互联网
-
查看需要拉取哪些镜像
master $ kubeadm config images list
k8s.gcr.io/kube-apiserver-amd64:v1.11.6
k8s.gcr.io/kube-controller-manager-amd64:v1.11.6
k8s.gcr.io/kube-scheduler-amd64:v1.11.6
k8s.gcr.io/kube-proxy-amd64:v1.11.6
k8s.gcr.io/pause:3.1
k8s.gcr.io/etcd-amd64:3.2.18
k8s.gcr.io/coredns:1.1.3k8s.gcr.io/kube-apiserver:v1.13.2
k8s.gcr.io/kube-controller-manager:v1.13.2
k8s.gcr.io/kube-scheduler:v1.13.2
k8s.gcr.io/kube-proxy:v1.13.2
k8s.gcr.io/pause:3.1
k8s.gcr.io/etcd:3.2.24
k8s.gcr.io/coredns:1.2.6 -
依次拉取镜像,如
docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver-amd64:v1.11.6
-
依次 tag,如
docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver-amd64:v1.11.6 k8s.gcr.io/kube-apiserver-amd64:v1.11.6
-
依次删除阿里云的镜像,当然,这是可选的,如:
docker rmi registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver-amd64:v1.11.6
标签:k8s,amd64,v1.11,拉取,gcr,io,镜像,kube 来源: https://blog.csdn.net/joy_cz/article/details/90400350