-
Notifications
You must be signed in to change notification settings - Fork 144
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
Deprecate --mode
option kubelet-registration-probe
#309
Comments
Another approach:
|
We can remove a cmdline option only by bumping the major version. I would deprecate the |
Sounds good, yes that's comment #309 (comment). Changing the title to reflect the deprecation of the --mode option /retitle Deprecate |
--mode
flag--mode
option kubelet-registration-probe
In #143 we added a workaround for a race condition happening in Windows only in the kubelet registration mechanism, as part of the workaround I added the flag mode in #152 which through a livenessProbe would crash the Pod if the kubelet registration failed, fortunately @luckerby found the race in kubernetes/kubernetes#104584 (comment) and fixed it upstream.
With the above fix the
mode
flag is no longer needed and can be deprecated, its introduction created issues with the probe file it created in readOnly filesystems as seen in #244.I still need to define the deprecation timeline and the steps to remove the flag.
Tasks
As an alternative we can keep the feature but under the hood we would do nothing when
--mode=kubelet-registration-probe
, if so then I can safely remove the code that tries to create a file.The text was updated successfully, but these errors were encountered: