kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
28.73k stars 4.81k forks source link

Add automation generating images for for China mirror #19141

Open Bill-GaiPeng opened 3 days ago

Bill-GaiPeng commented 3 days ago

执行 :docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kicbase:latest 返回:Error response from daemon: manifest for registry.cn-hangzhou.aliyuncs.com/google_containers/kicbase@sha256:eb04641328b06c5c4a14f4348470e1046bbcf9c2cbc551486e343d3a49db557e not found: manifest unknown: manifest unknown.

medyagh commented 2 days ago

@Bill-GaiPeng our images are supposed to be synced by https://github.com/kubernetes/minikube/actions/workflows/sync-minikube.yml

@ComradeProgrammer I noticed the images.json is stored in this repo https://github.com/denverdino/image-syncer/blob/master/images.json

and hasnt been updated in a year, so we might wanna have an automation that generates the image.json and have it hosted in minikube repo, each time we add a new image it should be added to the repo

medyagh commented 2 days ago

@Bill-GaiPeng we dont push latest, Why are you trying to pull latest if I specify the v0.0.44 it works docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kicbase:v0.0.44

$ docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kicbase:v0.0.44 v0.0.44: Pulling from google_containers/kicbase Digest: sha256:889a762d6dd17b44aef674ec5384fd510d3410ad3010943cefd16cc3388505be Status: Downloaded newer image for registry.cn-hangzhou.aliyuncs.com/google_containers/kicbase:v0.0.44 registry.cn-hangzhou.aliyuncs.com/google_containers/kicbase:v0.0.44