如何从阿里云取得kubespray安装需要的镜像

1. pull image from aliyun

docker pull registry.cn-qingdao.aliyuncs.com/urplus/k8s-dns-kube-dns-amd64:1.14.7
docker pull registry.cn-qingdao.aliyuncs.com/urplus/k8s-dns-dnsmasq-nanny-amd64:1.14.7
docker pull registry.cn-qingdao.aliyuncs.com/urplus/k8s-dns-sidecar-amd64:1.14.7
docker pull registry.cn-hangzhou.aliyuncs.com/dockerk8s/kubernetes-dashboard-amd64:v1.7.1
docker pull registry.cn-hangzhou.aliyuncs.com/dockerk8s/kubernetes-dashboard-init-amd64:v1.0.1

docker pull registry.cn-hangzhou.aliyuncs.com/liuq/calico-ctl:v1.6.1
docker pull registry.cn-hangzhou.aliyuncs.com/liuq/calico-node:v2.6.2
docker pull registry.cn-hangzhou.aliyuncs.com/calico_containers/cni:v1.11.0
docker pull registry.cn-hangzhou.aliyuncs.com/calic/kube-controllers:v1.0.0
docker pull registry.cn-hangzhou.aliyuncs.com/wiselyman/routereflector:v0.4.0

docker pull registry.cn-hangzhou.aliyuncs.com/liuq/hyperkube:v1.8.4_coreos.0
docker pull registry.cn-hangzhou.aliyuncs.com/mwang14hk/pause-amd64:3.0
docker pull registry.cn-hangzhou.aliyuncs.com/wiselyman/k8s-netchecker-agent:v1.0
docker pull registry.cn-hangzhou.aliyuncs.com/wiselyman/k8s-netchecker-server:v1.0

docker pull registry.cn-beijing.aliyuncs.com/io84/elasticsearch:v2.4.1
docker pull registry.cn-shenzhen.aliyuncs.com/solinx/fluentd-elasticsearch:1.22
docker pull registry.cn-qingdao.aliyuncs.com/bonc/kibana:v4.6.1
docker pull registry.cn-hangzhou.aliyuncs.com/linkcloud/k8s-helm:v2.7.2
docker pull registry.cn-beijing.aliyuncs.com/my-img/tiller:v2.7.2

2. change tag and save new image tar
docker tag registry.cn-qingdao.aliyuncs.com/urplus/k8s-dns-kube-dns-amd64:1.14.7 gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.7
docker save gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.7 -o /root/image_new/k8s-dns-kube-dns-amd64-1.14.7.tar
docker tag registry.cn-qingdao.aliyuncs.com/urplus/k8s-dns-dnsmasq-nanny-amd64:1.14.7 gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.7
docker save gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.7 -o /root/image_new/k8s-dns-dnsmasq-nanny-amd64-1.14.7.tar
docker tag registry.cn-qingdao.aliyuncs.com/urplus/k8s-dns-sidecar-amd64:1.14.7 gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.7
docker save gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.7 -o /root/image_new/k8s-dns-sidecar-amd64-1.14.7.tar
docker tag registry.cn-hangzhou.aliyuncs.com/dockerk8s/kubernetes-dashboard-amd64:v1.7.1 gcr.io/google_containers/kubernetes-dashboard-amd64:v1.7.1
docker save gcr.io/google_containers/kubernetes-dashboard-amd64:v1.7.1 -o /root/image_new/kubernetes-dashboard-amd64-v1.7.1.tar
docker tag registry.cn-hangzhou.aliyuncs.com/dockerk8s/kubernetes-dashboard-init-amd64:v1.0.1 gcr.io/google_containers/kubernetes-dashboard-init-amd64:v1.0.1 
docker save gcr.io/google_containers/kubernetes-dashboard-init-amd64:v1.0.1  -o /root/image_new/kubernetes-dashboard-init-amd64-v1.0.1.tar

docker tag registry.cn-hangzhou.aliyuncs.com/liuq/calico-ctl:v1.6.1 quay.io/calico/ctl:v1.6.1 
docker save quay.io/calico/ctl:v1.6.1 -o /root/image_new/ctl-v1.6.1.tar
docker tag registry.cn-hangzhou.aliyuncs.com/liuq/calico-node:v2.6.2 quay.io/calico/node:v2.6.2
docker save quay.io/calico/node:v2.6.2 -o /root/image_new/calico-node-v2.6.2.tar
docker tag registry.cn-hangzhou.aliyuncs.com/calico_containers/cni:v1.11.0 quay.io/calico/cni:v1.11.0
docker save quay.io/calico/cni:v1.11.0 -o /root/image_new/calico-cni-v1.11.0.tar
docker tag registry.cn-hangzhou.aliyuncs.com/calic/kube-controllers:v1.0.0 quay.io/calico/kube-controllers:v1.0.0
docker save quay.io/calico/kube-controllers:v1.0.0 -o /root/image_new/calico-kube-controllers-v1.0.tar
docker tag registry.cn-hangzhou.aliyuncs.com/wiselyman/routereflector:v0.4.0 quay.io/calico/routereflector:v0.4.0
docker save quay.io/calico/routereflector:v0.4.0 -o /root/image_new/calico-routereflector-v0.4.0.tar
docker tag registry.cn-hangzhou.aliyuncs.com/liuq/hyperkube:v1.8.4_coreos.0 quay.io/coreos/hyperkube:v1.8.4_coreos.0
docker save quay.io/coreos/hyperkube:v1.8.4_coreos.0 -o /root/image_new/hyperkube-v1.8.4_coreos.0.tar
docker tag registry.cn-hangzhou.aliyuncs.com/mwang14hk/pause-amd64:3.0 gcr.io/google_containers/pause-amd64:3.0
docker save gcr.io/google_containers/pause-amd64:3.0 -o /root/image_new/pause-amd64-3.0.tar
docker tag registry.cn-hangzhou.aliyuncs.com/wiselyman/k8s-netchecker-agent:v1.0 quay.io/l23network/k8s-netchecker-agent:v1.0 
docker save quay.io/l23network/k8s-netchecker-agent:v1.0  -o /root/image_new/k8s-netchecker-agent-v1.0.tar
docker tag registry.cn-hangzhou.aliyuncs.com/wiselyman/k8s-netchecker-server:v1.0 quay.io/l23network/k8s-netchecker-server:v1.0 
docker save quay.io/l23network/k8s-netchecker-server:v1.0  -o /root/image_new/k8s-netchecker-server-v1.0.tar

docker tag registry.cn-beijing.aliyuncs.com/io84/elasticsearch:v2.4.1 gcr.io/google_containers/elasticsearch:v2.4.1
docker save gcr.io/google_containers/elasticsearch:v2.4.1 -o /root/image_new/elasticsearch-v2.4.1.tar
docker tag registry.cn-shenzhen.aliyuncs.com/solinx/fluentd-elasticsearch:1.22 gcr.io/google_containers/fluentd-elasticsearch:1.22
docker save gcr.io/google_containers/fluentd-elasticsearch:1.22 -o /root/image_new/fluentd-elasticsearch-1.22.tar
docker tag registry.cn-qingdao.aliyuncs.com/bonc/kibana:v4.6.1 gcr.io/google_containers/kibana:v4.6.1
docker save gcr.io/google_containers/kibana:v4.6.1 -o /root/image_new/kibana-v4.6.1.tar
docker tag registry.cn-hangzhou.aliyuncs.com/linkcloud/k8s-helm:v2.7.2 lachlanevenson/k8s-helm:v2.7.2
docker save lachlanevenson/k8s-helm:v2.7.2 -o /root/image_new/k8s-helm-v2.7.2.tar
docker tag registry.cn-beijing.aliyuncs.com/my-img/tiller:v2.7.2 gcr.io/kubernetes-helm/tiller:v2.7.2
docker save gcr.io/kubernetes-helm/tiller:v2.7.2 -o /root/image_new/tiller-v2.7.2.tar

3. docker load -i image to node or repository.

你可能感兴趣的:(kubernetes)