-
Notifications
You must be signed in to change notification settings - Fork 716
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 kubelet instance configuration to configure CRI socket for each node #3042
Comments
/cc @neolit123 @pacoxu |
@HirazawaUi we need a KEP for this, ket's see what @pacoxu can comment about the previous work done on this. @pacoxu can you please post links to your previous KEP work.? maybe we can close KEP PRs and let @HirazawaUi to take over. |
also are you willing to work on this @HirazawaUi
too many questions |
Yes, I'll try to finish it. |
@pacoxu What do you think about this? I would love to hear your comments :) |
The KEP
My current proposal would be something like kubernetes/enhancements#3930 (comment)
|
Thanks, I have missed this comment, I will resurrect kep as soon as possible. |
note if this ever becomes part of kubeadm, we can close this ticket: |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
@HirazawaUi i added some TODOs a tracking in the issue description here. |
OK, thank you so much for your help. |
i think i found one problem wih the feature gate. here we read the value from the env file, but we also need to migrate users away from using the flag --container-runtime for the kubelet. so on upgrade we need to mutate the env file to no longer have the --container-runtime flag. the problem here is that if the kubelet receives the flag --container-runtime then it will take precedence over the value passed from the kubelet config.yaml and the config yaml will be ignored. this is actually something we might have to backport as a fix for 1.32. in the alpha. we have this utility for writing the env file. as far as i can tell we are not doing this env file mutation on upgrade, but please correct me if i am wrong. |
Probably, we can keep it as is in v1.32, as the value in env file and instance file are the same.
|
i think i agree to not backport the fix for this alpha feature. |
Yes, that is indeed a problem.
That's right. Given that we have never mentioned this (modifying an existing env file) in the KEP, I agree with @pacoxu's view that we should keep it as is in 1.32 and move it to beta in 1.34, WDYT? I will update the KEP later to add this description and revise it according to the implemented PR (I had planned to do this last week, but it was delayed due to being reinfected with COVID-19). |
1.34 SGTM, but this issue is something we can fix in 1.33 as well and still keep it alpha.
ok, take care of your self. |
@HirazawaUi
kubernetes/kubernetes#128031 i added these 2 things as TODO in the OP here. |
All right. |
Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST
Anything else we need to know?
This issue wants to remove container runtime interface (CRI) socket annotations from Node objects in Kubernetes and no longer added
--container-runtime-endpoint
args inkubeadm-flags.env
(--container-runtime-endpoint
args deprecated in kubelet), this annotation and args are used to specify the CRI socket endpoint on each node that the kubelet uses to communicate with the container runtime.Add
kubelet-instance-config.yml
locally to store container runtime interface (CRI) sockets, and inkubeadm init
,join
andupgrade
, override the global kubelet configuration throughkubelet-instance-config.yml
.More detailed design at: https://hackmd.io/@r2Yq-PVoRcK2OaGypnwPMg/rJFChACCp/edit
Tasks
edit by neolit123:
1.32 alpha
FG name is
NodeLocalCRISocket
1.33 alpha
The text was updated successfully, but these errors were encountered: