-
Notifications
You must be signed in to change notification settings - Fork 41.1k
kubelet: clean up cloud provider code because cloud provider only supports empty or external and cloud is nil #130161
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
kubelet: clean up cloud provider code because cloud provider only supports empty or external and cloud is nil #130161
Conversation
e6ba9e7
to
a1fe8fe
Compare
a1fe8fe
to
66000d8
Compare
/triage accepted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like this is removing the --cloud-provider
flag, how will we know to set the kubelet into external provider mode?
@elmiko it only remove the --cloud-config flag, not remove others. I only change the description of those flags. |
ah! thank you @carlory , i misread the commit diff. |
/test pull-kubernetes-cmd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this is making more sense to me now, i would like to have someone with more experience on the network parts review as well.
also, i have one minor suggestion for the updated flag help text.
66000d8
to
e62734c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
would like to get another review, especially for the networking related changes.
networking parts lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
LGTM label has been added. Git tree hash: 98aae9f19dd4fc9ff5959cf69ff3690b5211cdf4
|
/assign @SergeyKanzhelev @derekwaynecarr @wojtek-t |
@carlory do ping me after the sig-node folks take a shot at it please |
/cc @tallclair @klueska Can you have a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
/cc @dims |
/lgtm thanks @carlory |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carlory, dims, SergeyKanzhelev 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 |
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
1 similar comment
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
@@ -320,8 +320,6 @@ func (f *KubeletFlags) AddFlags(mainfs *pflag.FlagSet) { | |||
fs.MarkDeprecated("register-schedulable", "will be removed in a future version") | |||
fs.StringVar(&f.ExperimentalMounterPath, "experimental-mounter-path", f.ExperimentalMounterPath, "[Experimental] Path of mounter binary. Leave empty to use the default mount.") | |||
fs.MarkDeprecated("experimental-mounter-path", "will be removed in 1.25 or later. in favor of using CSI.") | |||
fs.StringVar(&f.CloudConfigFile, "cloud-config", f.CloudConfigFile, "The path to the cloud provider configuration file. Empty string for no configuration file.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to warning in the release notes, please also check for usage in-tree. hack/local-up-cluster.sh still uses it and now fails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=> #131841
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for that.
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
A follow-up of #124519
the
--cloud-provider
flag of kubelet only supports empty or external, and cloud is nilWhich issue(s) this PR fixes:
Related to kubernetes/enhancements#2395
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: