nwcdheap / kops-cn

AWS中国宁夏区域/北京区域,快速Kops部署K8S集群
Apache License 2.0
121 stars 74 forks source link

add k8s.gcr.io/cluster-autoscaler:v1.12.7 mirror #106

Closed ghost closed 5 years ago

pahud commented 5 years ago

Hi @guohenghaha

please do not update required-images-mirrored.txt, update https://github.com/nwcdlabs/kops-cn/blob/master/mirror/required-images.txt instead.

pahud commented 5 years ago

Hi

If you are trying to kubectl apply this https://github.com/kubernetes/autoscaler/blob/8303a2355e55dc7a416a8a80359207b774556d51/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-one-asg.yaml#L132

k8s.gcr.io images are all mirrored in docker hub at https://hub.docker.com/u/googlecontainer

so you can change the image path to googlecontainer/cluster-autoscaler:v1.12.3 and kops-cn will use the docker hub china proxy to pull this image

https://github.com/nwcdlabs/kops-cn/blob/54f7de28cb98f1a912696850fee84f203873bf2d/spec.yml#L8

so you don't have to update the required-images.txt file

pahud commented 5 years ago

And please check this FAQ https://github.com/nwcdlabs/kops-cn/issues/107