-
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
fix: change the position of the containerd_extra_args parameter to make the parameter more universal. #11013
fix: change the position of the containerd_extra_args parameter to make the parameter more universal. #11013
Conversation
|
Welcome @qcu266! |
Hi @qcu266. 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 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. |
5757c4c
to
052ec91
Compare
/ok-to-test |
Thanks @qcu266 the good idea is awsome. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qcu266, 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 |
052ec91
to
54428bf
Compare
@yankay Is there any issue with this PR? Why not merge? |
It's not entirely clear (to me, at least), what this means. Could you add a more thorough explanation or maybe a link explaining what the TOML global table is ? Please also add a proper release note
Because reviewers and maintainers don't have infinite time 🤷 |
@VannTen "global table" is mean that toml root level table version = 2
root = "/var/lib/containerd"
state = "/run/containerd"
oom_score = 0
plugins."io.containerd.grpc.v1.cri".device_ownership_from_security_context = true
[grpc]
max_recv_message_size = 16777216
max_send_message_size = 16777216
[debug]
level = "info"
[metrics]
address = ""
grpc_histogram = false
[plugins]
[plugins."io.containerd.grpc.v1.cri"]
sandbox_image = "k8s.gcr.io/pause:3.9"
max_container_log_line_size = -1
enable_unprivileged_ports = false
enable_unprivileged_icmp = false
[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"]
endpoint = ["https://registry-1.docker.io"] in this case, if |
Ok that's clearer ! Could you add that explanation (that you can only place thing in the root table in a toml document before the first table heading) in your commit message ? It helps people not familiar enough with toml to understand why we're doing this. (also, you'll need a release note) |
54428bf
to
105241a
Compare
…ke the parameter more universal. that you can only place thing in the root table in a toml document before the first table heading.
105241a
to
c63b207
Compare
@VannTen Thank you for your review and suggestions, I have already made the adjustments. |
/lgtm Thanks. |
…ke the parameter more universal. (kubernetes-sigs#11013) that you can only place thing in the root table in a toml document before the first table heading.
…ke the parameter more universal. (kubernetes-sigs#11013) that you can only place thing in the root table in a toml document before the first table heading.
…ke the parameter more universal. (kubernetes-sigs#11013) that you can only place thing in the root table in a toml document before the first table heading.
fix: change the position of the containerd_extra_args parameter to make the parameter more universal.
/kind bug
What this PR does / why we need it:
The template parameter containerd_extra_args is currently limited to the TOML global table, which is not versatile enough. It can be adjusted to be under the global table.
In my scenario, it can be configured as follows:
And this adjustment should not break compatibility.
Which issue(s) this PR fixes:
Fixes #11007
Special notes for your reviewer:
Does this PR introduce a user-facing change?: