-
Notifications
You must be signed in to change notification settings - Fork 1.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
Add support for a drop-in kubelet configuration directory #3983
Comments
/sig node |
/milestone v1.28 Adding to the milestone for tracking based on discussions at sig node meeting. |
+1!!! (non binding) |
/stage alpha |
/label lead-opted-in |
Hello @haircommander 👋, 1.28 Enhancements team here. Just checking in as we approach enhancements freeze on 1:00 UTC on Friday 16th June 2023. This enhancement is targeting stage Here's where this enhancement currently stands:
For this KEP, we would need to take care of:
The status of this enhancement is marked as |
Hi @ruheenaansari34 , I've updated the ID, thanks for pointing that out! Is there anything else needed at the moment other than getting consensus to merge the enhancement? |
@yuqi-zhang Please take care of the following before the Enhancement freeze to meet the requirements:
The status of this enhancement is still marked as |
Thanks! I've marked it as implementable after discussion with @haircommander . We will work to get it merged |
Thanks @yuqi-zhang :) |
Hello @haircommander 👋, 1.28 Docs Lead here. Does this enhancement work planned for 1.28 require any new docs or modification to existing docs? If so, please follows the steps here to open a PR against Also, take a look at Documenting for a release to get yourself familiarize with the docs requirement for the release. Thank you! |
Hey @haircommander , could you please create a docs PR even if it is a draft PR with no content yet against dev-1.28 branch in the k/website repo. The deadline to create this draft PR is Thursday 20th July 2023. |
yes I will take care of it, thanks @Rishit-dagli ! |
done! kubernetes/website#42013 |
Hey again @haircommander 👋 I don't see any code (k/k) update PR(s) in the issue description so if there are any k/k related PR(s) that we should be tracking for this KEP please link them in the issue description above. As always, we are here to help if any questions come up. Thanks! |
Hey @haircommander 👋 Enhancements Lead here, |
Hello @haircommander wave: please take a look at Documenting for a release - PR Ready for Review to get your docs PR ready for review before Tuesday 25th July 2023. Thank you! |
thank you! I have moved it out of draft |
Hey y'all! I'm swinging by for the v1.28 Docs team. Today is the docs deadline. Is there anything we can help you with to get this merged? |
sorry I am updating it now, I will get this done soon. |
As this KEP does not have a Feature gate, it used an env KUBELET_CONFIG_DROPIN_DIR_ALPHA to guard the feature.
enhancements/keps/sig-node/3983-drop-in-configuration/kep.yaml Lines 26 to 27 in 25777c1
|
@pacoxu no, that is not a typo. Jordan merged a bug fix but this was promoted to beta in 1.31. |
I mean that it should be already beta in v1.30 as the alpha ENV was removed in v1.30. |
yes, it stays in beta for one more release with the idea to pre-enable the drop-in directory and ensure that future version bump of config api will not break this |
Hey @haircommander,👋 from the v1.32 Communications Team! We'd love for you to consider writing a feature blog about your enhancement. To opt-in, let us know by opening a Feature Blog placeholder PR against the website repository by 30th Oct 2024. For more information about writing a blog see the blog contribution guidelines. Note: In your placeholder PR, use |
Hello @haircommander 👋 1.32 Docs Shadow here. Does this enhancement work planned for 1.32 require any new docs or modifications to existing docs? Also, take a look at Documenting for a release to get yourself familiarize with the docs requirement for the release. |
Hello @haircommander 👋 1.32 Docs Shadow here. This is just a reminder to open a placeholder PR against dev-1.32 branch in the k/website repo for this (steps available here) for this KEP if it requires new or modifications to existing docs: The deadline for this is Thursday, Oct 24 at 18:00 PDT. |
we're retargeting beta here so I don't think there should be a docs update. is that correct @sohankunkerkar ? |
My understanding was that we will be doing this: "Set the default value of --config-dir to /etc/kubernetes/kubelet.conf.d. Users can disable this field by setting it to an empty string." If so, some docs update will be needed! |
good point, done here kubernetes/website#48482 |
Does that error if |
I would expect the kubelet attempt to create the directory in that case |
hmm... I wouldn't... I'd expect config locations on disk to be read-only from the kubelet's perspective |
The following may be silly, but still: golang's |
@sohankunkerkar it will be great if you can summarize the behavior of misconfiguration/misconfiguration. Thinking about it - maybe the typical installation will be that both config file and config dir will be specified as an arguments for the systemd unit so they will be (mostly) readonly and not expected to be changed. In this case, making the default to be a predefined folder doesn't make too much sense. Also if default will be configured - make sure to update e2e_node framework to change the folder for every test run. So there is no leftovers from the previous test making the next test fail. |
Are we talking defaults for kubeadm-based distros now? Or just the default behavior for the kubelet binary? |
@haircommander @sohankunkerkar what do you say we remove this defaulting? It feels that the common usage pattern will be to specify this folder in systemd unit config anyways. So having a default folder is more troubles and surprises for end users than a benefit. |
Hey there! |
Hello @haircommander 👋, Enhancements team here (again 😁 ) With all the implementation(code related) PRs merged as per the issue description:
This enhancement is now marked as Please note that KEPs targeting |
@SergeyKanzhelev are you asking to revert to the same state as the v1.31 release |
Was it implemented already in 1.32? I suggest we remove the line "Set the default value of --config-dir to /etc/kubernetes/kubelet.conf.d. Users can disable this field by setting it to an empty string." from beta graduation criteria. |
Right, that was the change added in #4889. So essentially, the ask is to revert that change, which means sticking to the requirements mentioned in v1.31. |
Yes, we will default to "not configured" and expect many k8s deployments will preconfigure their drop-in folders to the same or similar location. |
I think eventually we'll want a default but we can not have that for beta. if the default directory doesn't exist, we can just skip (similar to what we would do if the directory is empty). How does that sound @SergeyKanzhelev ? |
Why would we need a default? We ask to specify the config file explicitly, why not require to do the same for the drop in folder? And for the end-user, it will NOT need to be set as the typical installation will include the default folder pre-configured in systemd unit file |
totally, for some reason I had the impression there was a default set for --config-dir in kubelet. Agreed there should be no default. |
@SergeyKanzhelev closing the loop: #4966 |
Enhancement Description
k/enhancements
) update PR(s): KEP-3983: Add support for a drop-in kubelet configuration directory #4031, KEP 3983: target to beta for 1.29 #4242k/k
) update PR(s): cmd/kubelet: implement drop-in configuration directory for kubelet kubernetes#119390, Retarget drop-in kubelet configuration dir feature to Alpha kubernetes#121193k/website
) update PR(s): Update documentation to reflect kubelet.conf.d changes for k8s 1.28 website#42013, docs: prepare KubeletConfigDropinDir to Beta website#43542k/enhancements
) update PR(s):k/k
) update PR(s):k/website
) update(s):k/enhancements
) update PR(s):k/k
) update PR(s):k/website
) update(s):Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.
The text was updated successfully, but these errors were encountered: