解决k8s相关组件安装镜像无法拉取

2021-11-20
1分钟阅读时长

替换阿里云

docker pull registry.aliyuncs.com/google_containers/
docker tag registry.aliyuncs.com/google_containers/ k8s.gcr.io/sig-storage/
docker rmi registry.aliyuncs.com/google_containers/

rook 镜像

docker pull registry.aliyuncs.com/google_containers/csi-node-driver-registrar:v2.3.0
docker tag registry.aliyuncs.com/google_containers/csi-node-driver-registrar:v2.3.0 k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0
docker rmi registry.aliyuncs.com/google_containers/csi-node-driver-registrar:v2.3.0

docker pull registry.aliyuncs.com/google_containers/csi-provisioner:v3.0.0 
docker tag registry.aliyuncs.com/google_containers/csi-provisioner:v3.0.0 k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0
docker rmi registry.aliyuncs.com/google_containers/csi-provisioner:v3.0.0


docker pull registry.aliyuncs.com/google_containers/csi-resizer:v1.3.0 
docker tag registry.aliyuncs.com/google_containers/csi-resizer:v1.3.0 k8s.gcr.io/sig-storage/csi-resizer:v1.3.0
docker rmi registry.aliyuncs.com/google_containers/csi-resizer:v1.3.0

docker pull registry.aliyuncs.com/google_containers/csi-attacher:v3.3.0 
docker tag registry.aliyuncs.com/google_containers/csi-attacher:v3.3.0 k8s.gcr.io/sig-storage/csi-attacher:v3.3.0
docker rmi registry.aliyuncs.com/google_containers/csi-attacher:v3.3.0


docker pull registry.aliyuncs.com/google_containers/csi-snapshotter:v4.2.0
docker tag registry.aliyuncs.com/google_containers/csi-snapshotter:v4.2.0 k8s.gcr.io/sig-storage/csi-snapshotter:v4.2.0
docker rmi registry.aliyuncs.com/google_containers/csi-snapshotter:v4.2.0

ingress-nginx 镜像

docker pull registry.aliyuncs.com/google_containers/nginx-ingress-controller:v1.0.0
docker tag registry.aliyuncs.com/google_containers/nginx-ingress-controller:v1.0.0 k8s.gcr.io/ingress-nginx/controller:v1.0.0
docker rmi registry.aliyuncs.com/google_containers/nginx-ingress-controller:v1.0.0

docker pull registry.aliyuncs.com/google_containers/kube-webhook-certgen:v1.0
docker tag registry.aliyuncs.com/google_containers/kube-webhook-certgen:v1.0 k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.0
docker rmi registry.aliyuncs.com/google_containers/kube-webhook-certgen:v1.0