-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add docker.io/library to image short names #16214
Conversation
Kubernetes automatically looks for "docker.io/library/*", so we need to add these to the images for it to find them. It is still possible to use qualified image names with a custom registry, and not rely on the legacy defaults.
/ok-to-test |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
/retest-this-please |
@afbjorklund all the "TestFunctional/parallel/ImageCommands/ImageBuild" tests are failing, maybe the test needs to be updated? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plz take a look at the TestFunctional/parallel/ImageCommands/ImageBuild test
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
@afbjorklund do you still like to finish this PR ? there is a functional test error |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
we need to bring this PR back to Life but the Test failure need to be fixed, I think minikube image list command has a problem that Does NOT list the images that DOES exist |
/remove-lifecycle rotten |
Co-authored-by: Raiden Shogun <[email protected]>
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube ingress: 23.5s 26.1s 22.6s 23.6s 23.0s Times for minikube start: 53.6s 51.5s 51.8s 51.9s 50.5s docker driver with docker runtime
Times for minikube start: 21.5s 22.7s 22.1s 21.4s 24.4s Times for minikube ingress: 20.3s 20.3s 19.3s 20.3s 20.3s docker driver with containerd runtime
Times for minikube start: 23.9s 20.7s 24.0s 20.4s 23.8s Times for minikube ingress: 30.8s 30.8s 29.8s 29.8s 29.8s |
These are the flake rates of all failed tests.
Too many tests failed - See test logs for more details. To see the flake rates of all tests by environment, click here. |
As mentioned the fix was needed for containerd (buildkit) Since cri-o has some other workaround by adding "localhost" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you both @afbjorklund and @ComradeProgrammer for this fix
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afbjorklund, medyagh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Kubernetes automatically looks for "docker.io/library/*", so we need to add these to the images for it to find them.
It is still possible to use qualified image names with a custom registry, and not rely on the legacy defaults.
Closes #16036
minikube --alsologtostderr image build -t myimage myimage
BEFORE
AFTER
Note that Docker automatically hides the real name in the output, whereas containerd/buildkitd does not.
In the future, Kubernetes might allow to use a different default registry - but right now it is hard-coded...