-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Map horizontal-pod-autoscaler-use-rest-clients flag #3939
Map horizontal-pod-autoscaler-use-rest-clients flag #3939
Conversation
@itskingori I believe you also need to run /ok-to-test |
@mikesplain done in 28ff1bf. |
/lgtm Though, you'll have to wait for someone else to take a look as well. Thanks! |
@chrislovecnm @justinsb wondering if this should default to |
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.
Can we get all of that awesome stuff in the comments into documentation?
/lgtm I want to get the flag into beta2 (which I'm about to cut). Honestly I don't know if we should default this to true if EnableCustomMetrics is true - I'm guessing yes, at least in 1.8 or 1.9. Is there someone we can ask? |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb, mikesplain The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. |
@justinsb Maybe we could leave it off for now.
@chrislovecnm I'll write something up for HPA ... currently trying to set it up in my cluster. |
Maps
--horizontal-pod-autoscaler-use-rest-clients
flag which is required for Horizontal Pod Autoscaling. See Kubernetes code in kubernetes/kubernetes/blob/v1.7.11/cmd/kube-controller-manager/app/autoscaling.go#L36-L39.Seems this is the missing piece for fulfilment of HPA pre-requisites, which are:
--requestheader-client-ca-file=<path to aggregator CA cert>
(see Initial aggregation work #3679)--requestheader-allowed-names=aggregator
(see Initial aggregation work #3679)--requestheader-extra-headers-prefix=X-Remote-Extra-
(see Initial aggregation work #3679)--requestheader-group-headers=X-Remote-Group
(see Initial aggregation work #3679)--requestheader-username-headers=X-Remote-User
(see Initial aggregation work #3679)--proxy-client-cert-file=<path to aggregator proxy cert>
(see Add proxy client support #3165)--proxy-client-key-file=<path to aggregator proxy key>
(see Add proxy client support #3165)kube-controller-manager
:--horizontal-pod-autoscaler-use-rest-clients
should betrue
.--kubeconfig <path-to-kubeconfig>
(already set)Relevant Documentation:
Relevant Issues & PRs: