-
Notifications
You must be signed in to change notification settings - Fork 239
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
Support for passing additional args to API server, controller manager, and scheduler #3162
Support for passing additional args to API server, controller manager, and scheduler #3162
Conversation
/cc @kron4eg |
…, and scheduler Signed-off-by: Waleed Malik <[email protected]>
ddca993
to
f823043
Compare
/assign cnvergence |
I am not sure how I feel about allowing all of them while enabling support in these components seems to be non-breaking, fiddling with configuration files, for instance providing the wrong path for TLS cert, is breaking cluster with manual cluster repair required, if you try to rollback it with KubeOne. |
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 have tested it with the AWS cluster, this configuration seems like it covers most of the options and they are being applied properly.
Hey @cnvergence, this has been quite thoroughly discussed internally. We are aware of the risks, as mentioned in the documentation of the structs/fields. However, we don't want to block users from overriding these values since sometimes it's essential for their workflows. |
Understood, for that extensibility I am all for it, as it is a strong feature request |
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.
This looks good in majority, I left some comments, I'll take a look at them later today and try to get this PR merged.
Signed-off-by: Marko Mudrinić <[email protected]>
Signed-off-by: Marko Mudrinić <[email protected]>
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
LGTM label has been added. Git tree hash: 28c6bd50f771ee79f92ef47d4d200c2a1fad9665
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xmudrii 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 |
What this PR does / why we need it:
This PR adds support in KubeOne to configure additional flags and feature gates for the following components:
KubeOne also configures flags and crucial feature gates that are essential for the working of the underlying Kubernetes cluster. Due to this these flags and feature gates are always merged with what KubeOne configures. Since it's easy to misconfigure feature gates, we have prohibited users from specifying them with
flags
and instead created a dedicatedfeatureGates
field.Which issue(s) this PR fixes:
Fixes #2275 #2431
xref #3143
What type of PR is this?
/kind feature
Special notes for your reviewer:
Resurrection of #3074
Does this PR introduce a user-facing change? Then add your Release Note here:
Documentation:
/assign @kron4eg