-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[Need Discuss] Fix containerd config_path error when containerd_registries
is configed
#9743
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yankay 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 |
2e528b4
to
81cf937
Compare
containerd_registries
is configedcontainerd_registries
is configed
81cf937
to
60bae07
Compare
60bae07
to
2279e98
Compare
containerd_registries
is configedcontainerd_registries
is configed
containerd_registries
is configedcontainerd_registries
is configed
containerd_registries
is configedcontainerd_registries
is configed
From the
The And the ”Removal of this and other deprecations are not immediate. Yes, we've been considering removing all v1 deprecations when we move to v2, yes perhaps EOY perhaps sometime next year. We've been discussing the possibility of providing migration tooling for config and metadata. It is just as likely we will attempt to carry v1 and early v2 release versions of certain services (esp. CRI) at the same time to allow for opt in testing. The hosts.toml config is very similar to docker hosts.toml, if that helps. So there is another way to solve the issue by revert the #9566. I'm not sure which solution is better:
We can choose one :-) /hold |
containerd_registries
is configedcontainerd_registries
is configed
containerd_registries
is configedcontainerd_registries
is configed
HI @oomichi @floryut @cristicalin , would you please review the PR :-) |
Thanks to @yankay for the fix. I feel that a switch can be added to determine whether to enable config_path. It is disabled by default. It seems that |
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. |
Hi @yankay I opened a PR to fix mirrors in config_path . |
Thanks @yckaolalala I will review the PR. |
What type of PR is this?
What this PR does / why we need it:
After the #9566
There is a warning log when start the containerd:
When the
containerd_insecure_registries
orcontainerd_registries
are configured, the kubeadm can not install the Kubernetes. And kubelet can not start the Pod.So the PR is try to fix the bug, following the https://github.com/containerd/containerd/blob/main/docs/hosts.md.
Which issue(s) this PR fixes:
Fixes #9741
Special notes for your reviewer:
Does this PR introduce a user-facing change?: