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

Allow out-of-cluster operation of VPA #3769

Merged
merged 3 commits into from
Feb 22, 2021

Conversation

JensErat
Copy link
Contributor

@JensErat JensErat commented Dec 16, 2020

Because of how we operate our Kubernetes clusters, we need to run vertical pod autoscaler with an external kubeconfig. Also aligned and factored out redundant configuration code.

This is follow-up for now closed #2970. Regarding the open review comments:

  • Paths -> Path is fixed for both occurrences
  • Updated the copyright year
  • I don't think the var limitRangeCalculator limitrange.LimitRangeCalculator line (now vertical-pod-autoscaler/pkg/updater/main.go#86) can be removed, since it enforces the interface type. By removing this line, assigning limitrange.NewNoopLimitsCalculator() in line 90 would fail.

Jens Erat [email protected], Daimler TSS GmbH, imprint

Because of how we operate our Kubernetes clusters, we need to
run vertical pod autoscaler with an external kubeconfig. Also
aligned and factored out redundant configuration code.

Signed-off-by: Jens Erat <[email protected]>
Signed-off-by: Jens Erat <[email protected]>
Signed-off-by: Jens Erat <[email protected]>
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Dec 16, 2020
@JensErat
Copy link
Contributor Author

/cc bskiba

Thank you for your review some time ago, and sorry for the long delay. I had to recreate the PR, as /reopen was not possible because I force-pushed after rebasing against master after the rather long time.

@k8s-ci-robot k8s-ci-robot requested a review from bskiba December 16, 2020 15:35
@bskiba
Copy link
Member

bskiba commented Feb 22, 2021

/lgtm
/approve

Apologies for the delay.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 22, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bskiba, JensErat

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

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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants