-
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
Fixes containerd configuration issue with insecure registries #14482
Fixes containerd configuration issue with insecure registries #14482
Conversation
|
Welcome @andrewhamilton-okta! |
Hi @andrewhamilton-okta. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Can one of the admins verify this patch? |
Hi @andrewhamilton-okta, thanks for the PR, we'll need you to sign the CLA mentioned above #14482 (comment) before we can go any further with the PR, thanks |
Hi @spowelljr . I'm trying to get the CLA worked out with my company. We've signed it in the past but we currently don't have a manager in EasyCLA that can approve my reqeust so I need figure that out next week unfortunately. I was hoping that when I saw my company signed this would be easy but not so much... |
/easycla |
@spowelljr I was able to get the CLA worked out so let me know if I need to do anything to reach out to the correct people to get this started. |
Hi. Is there something that I can do to move this forward? I understand there are limited resources but am able to work on anything that might need updating this week to get this merged. |
deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.mk
Outdated
Show resolved
Hide resolved
ok-to-build-iso |
ok-to-build-image |
Hi @andrewhamilton-okta, we have updated your PR with the reference to newly built kicbase image. Pull the changes locally if you want to test with them or update your PR further. |
- Updates containerd configuration to use the new format for specifying container registry mirrors. - Updates the start code to produce files in the correct location for registry mirrors specified with --insecure-registry
Adds missing certs.d directory in the installation directory path. Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
b4fe497
to
1599f52
Compare
Rebased. |
Hi @andrewhamilton-okta, we have updated your PR with the reference to newly built ISO. Pull the changes locally if you want to test with them or update your PR further. |
I built minikube locally with this updated branch and ran it how I usually do and things came up as expected and didn't fail how they currently do with the released 1.26 and later builds. |
@@ -57,9 +57,8 @@ oom_score = 0 | |||
conf_dir = "/etc/cni/net.mk" | |||
conf_template = "" | |||
[plugins."io.containerd.grpc.v1.cri".registry] | |||
[plugins."io.containerd.grpc.v1.cri".registry.mirrors] | |||
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"] |
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.
Would you please clarify, Why these options were removed ?
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.
@medyagh The configuration structure that containerd expects has changed with this new version. This entry is recreated through a directory structure instead now.
https://github.com/containerd/containerd/blob/main/docs/hosts.md
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube start: 55.6s 56.8s 55.7s 59.6s 55.9s Times for minikube ingress: 29.6s 31.6s 29.6s 25.6s 29.6s docker driver with docker runtime |
The failure in the CI logs is around a Unix socket path being too long. I want to assume that this isn't caused by my PR directly but I'm not sure. |
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. |
The containerd tests look very healthy to me, this looks good to merge |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewhamilton-okta, spowelljr 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 |
container registry mirrors.
registry mirrors specified with --insecure-registry
Fixes #14480