-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
Migrating Kubelet --enable-server and --provider-id flags to config #90494
Conversation
Hi @knabben. Thanks for your PR. I'm waiting for a kubernetes 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. |
5b9c9bb
to
dff0051
Compare
dff0051
to
3035fc0
Compare
/assign @liggitt |
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
/ok-to-test |
/retest |
@@ -74,6 +74,9 @@ const ( | |||
type KubeletConfiguration struct { | |||
metav1.TypeMeta `json:",inline"` | |||
|
|||
// enableServer enables the Kubelet's server |
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.
clarify which server this enables (the secured port, I think). might also be worth mentioning that the readonly port is independently controlled.
// providerID, if set, sets the unique id of the instance that an external provider (i.e. cloudprovider) | ||
// can use to identify a specific node. | ||
// Dynamic Kubelet Config (beta): If dynamically updating this field, consider that changing | ||
// the volumePluginDir may disrupt workloads relying on third party volume plugins. |
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.
Dynamic config comment needs to be updated to providerID
e2386fd
to
9ae8ccd
Compare
pkg/kubelet/apis/config/types.go
Outdated
@@ -74,6 +74,9 @@ const ( | |||
type KubeletConfiguration struct { | |||
metav1.TypeMeta | |||
|
|||
// enableServer enables Kubelet's secured server. An insecure port is | |||
// controlled by the readOnlyPort option. |
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.
Update this comment to match how we updated the comment on the external type:
// enableServer enables Kubelet's secured server.
// Note: Kubelet's insecure port is controlled by the readOnlyPort option.
/retest |
99cb59c
to
1408f07
Compare
/lgtm @liggitt for final review |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: knabben, liggitt 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 |
@knabben: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
/retest |
What type of PR is this?
/kind cleanup
/area kubelet
/area kubelet-api
What this PR does / why we need it:
Moving Kubelet --enable-server and --provider-id to configuration file.
Which issue(s) this PR fixes:
Refs #86843
Special notes for your reviewer:
Does this PR introduce a user-facing change?: