Open mtpdx opened 2 years ago
Hello,您可以直接执行该命令:
echo -e 'docker pull hisunyh/k8s.gcr.io.kube-scheduler:v1.19.10\ndocker tag hisunyh/k8s.gcr.io.kube-scheduler:v1.19.10 k8s.gcr.io/kube-scheduler:v1.19.10\ndocker tag hisunyh/k8s.gcr.io.kube-scheduler:v1.19.10 xx-registry/k8s.gcr.io/kube-scheduler:v1.19.10\n\ndocker pull hisunyh/k8s.gcr.io.kube-proxy:v1.19.10\ndocker tag hisunyh/k8s.gcr.io.kube-proxy:v1.19.10 k8s.gcr.io/kube-proxy:v1.19.10\ndocker tag hisunyh/k8s.gcr.io.kube-proxy:v1.19.10 xx-registry/k8s.gcr.io/kube-proxy:v1.19.10\n\ndocker pull hisunyh/k8s.gcr.io.kube-controller-manager:v1.19.10\ndocker tag hisunyh/k8s.gcr.io.kube-controller-manager:v1.19.10 k8s.gcr.io/kube-controller-manager:v1.19.10\ndocker tag hisunyh/k8s.gcr.io.kube-controller-manager:v1.19.10 xx-registry/k8s.gcr.io/kube-controller-manager:v1.19.10\n\ndocker pull hisunyh/k8s.gcr.io.kube-apiserver:v1.19.10\ndocker tag hisunyh/k8s.gcr.io.kube-apiserver:v1.19.10 k8s.gcr.io/kube-apiserver:v1.19.10\ndocker tag hisunyh/k8s.gcr.io.kube-apiserver:v1.19.10 xx-registry/k8s.gcr.io/kube-apiserver:v1.19.10\n\n' | bash
或是手动执行:
docker pull hisunyh/k8s.gcr.io.kube-scheduler:v1.19.10
docker tag hisunyh/k8s.gcr.io.kube-scheduler:v1.19.10 k8s.gcr.io/kube-scheduler:v1.19.10
docker tag hisunyh/k8s.gcr.io.kube-scheduler:v1.19.10 xx-registry/k8s.gcr.io/kube-scheduler:v1.19.10
docker pull hisunyh/k8s.gcr.io.kube-proxy:v1.19.10
docker tag hisunyh/k8s.gcr.io.kube-proxy:v1.19.10 k8s.gcr.io/kube-proxy:v1.19.10
docker tag hisunyh/k8s.gcr.io.kube-proxy:v1.19.10 xx-registry/k8s.gcr.io/kube-proxy:v1.19.10
docker pull hisunyh/k8s.gcr.io.kube-controller-manager:v1.19.10
docker tag hisunyh/k8s.gcr.io.kube-controller-manager:v1.19.10 k8s.gcr.io/kube-controller-manager:v1.19.10
docker tag hisunyh/k8s.gcr.io.kube-controller-manager:v1.19.10 xx-registry/k8s.gcr.io/kube-controller-manager:v1.19.10
docker pull hisunyh/k8s.gcr.io.kube-apiserver:v1.19.10
docker tag hisunyh/k8s.gcr.io.kube-apiserver:v1.19.10 k8s.gcr.io/kube-apiserver:v1.19.10
docker tag hisunyh/k8s.gcr.io.kube-apiserver:v1.19.10 xx-registry/k8s.gcr.io/kube-apiserver:v1.19.10
希望可以帮助到您,祝您周二愉快!
{ "hub-mirror": [ "k8s.gcr.io/kube-apiserver:v1.19.10", "k8s.gcr.io/kube-controller-manager:v1.19.10", "k8s.gcr.io/kube-scheduler:v1.19.10", "k8s.gcr.io/kube-proxy:v1.19.10" ] }