Skip to content
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

Merged
merged 2 commits into from
Nov 28, 2017
Merged

Map horizontal-pod-autoscaler-use-rest-clients flag #3939

merged 2 commits into from
Nov 28, 2017

Conversation

itskingori
Copy link
Member

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:

Relevant Documentation:

Relevant Issues & PRs:

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 27, 2017
@justinsb justinsb added this to the 1.8.0 milestone Nov 27, 2017
@mikesplain
Copy link
Contributor

@itskingori I believe you also need to run make apimachinery and checkin the results. See https://github.com/kubernetes/kops/blob/236cb0f188227e34dc09e246ef2f4c5682d64e39/docs/development/api_updates.md

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Nov 27, 2017
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 27, 2017
@itskingori
Copy link
Member Author

I believe you also need to run make apimachinery and checkin the results.

@mikesplain done in 28ff1bf.

@mikesplain
Copy link
Contributor

/lgtm

Though, you'll have to wait for someone else to take a look as well. Thanks!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 27, 2017
@itskingori
Copy link
Member Author

itskingori commented Nov 27, 2017

@chrislovecnm @justinsb wondering if this should default to true if EnableCustomMetrics is true 🤔

Copy link
Contributor

@chrislovecnm chrislovecnm left a 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?

@justinsb
Copy link
Member

/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?

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 28, 2017
@k8s-github-robot
Copy link

/test all [submit-queue is verifying that this PR is safe to merge]

@k8s-github-robot
Copy link

Automatic merge from submit-queue.

@k8s-github-robot k8s-github-robot merged commit 048a3ef into kubernetes:master Nov 28, 2017
@itskingori
Copy link
Member Author

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?

@justinsb Maybe we could leave it off for now.

Can we get all of that awesome stuff in the comments into documentation?

@chrislovecnm I'll write something up for HPA ... currently trying to set it up in my cluster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants