Skip to content
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

migrate containerd registry endpoint to hosts.toml #2952

Closed
wants to merge 1 commit into from

Conversation

matthyx
Copy link

@matthyx matthyx commented Oct 4, 2022

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: matthyx
Once this PR has been reviewed and has the lgtm label, please assign bentheelder for approval by writing /assign @bentheelder in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 4, 2022
@k8s-ci-robot
Copy link
Contributor

Hi @matthyx. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 4, 2022
@BenTheElder
Copy link
Member

Were it so easy https://kind.sigs.k8s.io/docs/user/local-registry/

#2875

@BenTheElder
Copy link
Member

This change is a significant regression to our users and we don't have an obvious path forward. Today we make it easy to patch containerd config.

Tomorrow that will be useless and users will have to create and mount an additional file or we will have to add some other UX.

Also, when we enable this, these images become broken for users leveraging the existing format.

@aojea
Copy link
Contributor

aojea commented Oct 4, 2022

🍿 kubernetes/kubernetes#110312 (comment)

it seems this will take some time

@matthyx
Copy link
Author

matthyx commented Oct 4, 2022

/hold
ok

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 4, 2022
@BenTheElder
Copy link
Member

I think we will probably have to design a KIND registry config format to shim this, so we can backend it with either containerd inline or the hosts dir.

When doing so we also need to consider the longstanding feature request for a built-in registry user experience.

@BenTheElder
Copy link
Member

KIND probably won't be able to just sit on an LTS release forever, because it will block k8s development to not pick up new CRI features. It's unclear how long we have until 2.0 though.

@matthyx
Copy link
Author

matthyx commented Oct 4, 2022

do you have a KinDEP process ;-) ?

@aojea
Copy link
Contributor

aojea commented Oct 4, 2022

do you have a KinDEP process ;-) ?

there was some try IIRC, I think that Ben also opened an issue about that

@BenTheElder
Copy link
Member

https://kind.sigs.k8s.io/docs/contributing/getting-started/ points to discussing designs in an issue before moving to implementation. You can see some examples of issues outlining designs.

@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

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.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 15, 2023
@BenTheElder
Copy link
Member

we just removed this config from the base image, we still need a good plan for how users can reasonably switch over with their custom registry configs. we have other much more pressing issues at the moment though.

@BenTheElder
Copy link
Member

#3122

@matthyx
Copy link
Author

matthyx commented Mar 15, 2023

Yeah, I let that rot a bit... thanks Ben.

@BenTheElder
Copy link
Member

thanks for the PR, this is going to be a mess to finish sorting out 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants