-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy container images from docker hub to gardener GCR #619
Comments
/assign |
Once this is done, the g/g documentation touched by gardener/gardener#7460 needs to be adapted accordingly. |
OCI-Images from Gardener-BoM are already replicated to |
Unfortunately, copying after releasing/merging doesn't suffice as written above:
|
All tasks have been completed. Well done @robinschneider! |
@timebertt: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind enhancement
What would you like to be added:
Let's copy all docker hub images that the gardener project consumes to our gardener GCR and consume them from there.
To support this effort with automation, let's add a CI job that copies a configured set of container images based on a simple configuration file:
For each container image, the configuration file specifies one or multiple tags that should be copied from the given source repository to the given destination repository.
The copied images should include all platforms/architectures supported by the source images.
Why is this needed:
The gardener project consumes multiple images from docker hub. This leads to problems because
With our gardener GCR, we already have the necessary infrastructure to solve both problems. GCR has no rate limit and supports IPv6.
Previously, some container images were already copied to the gardener GCR manually.
This is not enough for switching all container images over to our GCR because
docker pull
+docker tag
+docker push
only includes the architecture of the used machineInstead, we want to have a structured and automated way of copying all necessary container images based on a central inventory that can be updated in a self-service PR workflow.
Alternatives considered:
We can't use the GCP Docker Hub Mirror (
mirror.gcr.io
) because it is not a pull-through cache but only caches frequently access images, see the documentation (ref gardener/gardener#7568 (comment)):We don't want to add repository-specific jobs based on their image vectors (
images.yaml
) becauseSteps:
docker.io
registry mirror gardener#7698The text was updated successfully, but these errors were encountered: