Last active
April 12, 2019 07:12
-
-
Save An0nymous0/eb83ab5b882a7bcc27a4c9fd43c0bf35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
images=(kube-apiserver:v1.13.1 kube-controller-manager:v1.13.1 kube-scheduler:v1.13.1 kube-proxy:v1.13.1 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/$imageName k8s.gcr.io/$imageName | |
docker rmi registry.cn-hangzhou.aliyuncs.com/google_containers/$imageName | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment