kubernetes / minikube

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

Add automation generating images for for China mirror #19141

Open Bill-GaiPeng opened 5 months ago

Bill-GaiPeng commented 5 months 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 5 months 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 5 months 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

ComradeProgrammer commented 5 months ago

I will talk about this with you in the office hour

Basically I think perhaps it is time to depercate the alicloud image mirror, and figure out some other ways (e.g. tarballs) to implement this feature。

ComradeProgrammer commented 5 months ago

Update: after the conversation with Steven in minikube office hours, I am going to write an MEP for this

k8s-triage-robot commented 1 month ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 4 weeks ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten