-
Notifications
You must be signed in to change notification settings - Fork 669
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 descheduler custom flag of http-enabled #1503
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Amir Alavi <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -19,10 +19,10 @@ descheduler [flags] | |||
--client-connection-kubeconfig string File path to kube configuration for interacting with kubernetes apiserver. | |||
--client-connection-qps float32 QPS to use for interacting with kubernetes apiserver. | |||
--descheduling-interval duration Time interval between two consecutive descheduler executions. Setting this value instructs the descheduler to run in a continuous loop at the interval specified. | |||
--disable-http2-serving If true, HTTP2 serving will be disabled [default=false] | |||
--disable-http2-serving If true, HTTP2 serving will be disabled [default=false] (default true) |
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.
don't love this part :/ [default=false] (default true)
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.
Oh, [default=false]
is part of the usage string. The descheduler code could access the usage string and drop [default=false]
. I.e. calling VisitAll and editing Flag.Usage
field. Worth trying that.
/lgtm |
Follow up to #1496 (comment)
cc: @jklaw90 and @ingvagabund