-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Fix flag documentation kube-controller-manager and cloud-provider #126784
Conversation
…idr in cloud-provider and --service-cluster-ip-range in kube-controller-manager.
Welcome @eminwux! |
Hi @eminwux. 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-sigs/prow repository. |
/sig docs |
/assign @seans3 |
/ok-to-test |
/retest |
/assign @aojea |
yes, if allocate-node-cidrs is false the nodeipam controller skips running, it does not keep validating the flags kubernetes/cmd/kube-controller-manager/app/core.go Lines 99 to 106 in 80dcf7d
kubernetes/cmd/cloud-controller-manager/nodeipamcontroller.go Lines 66 to 73 in e954415
/lgtm |
LGTM label has been added. Git tree hash: e93f90c1c95fe467288eae8518bf8a37ca3ee1bd
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, dims, eminwux 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 |
/retest |
What type of PR is this?
/kind documentation
What this PR does / why we need it:
This PR solved issue #119066
Currently, the documentation of the following kube-controller-flags flags are ambiguos:
Both restrictions on
--cluster-cidr
and--service-cluster-ip-range
regarding--allocate-node-cidrs=true
are incorrect since it is possible to runkube-controller-manager
with those flags together with--allocate-node-cidrs=false
.Basically,
--allocate-node-cidrs=true
activates the controllernodeipam
for which--cluster-cidr
and--service-cluster-ip-range
are mandatory. However, if--allocate-node-cidrs=false
, flags--cluster-cidr
and--service-cluster-ip-range
are ignoredThus, the documentation of these flags is corrected to the following:
Which issue(s) this PR fixes:
Fixes #119066
Special notes for your reviewer:
Does this PR introduce a user-facing change?