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

Fix vpa-up.sh script by removing duplicate recommender #6151

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

raywainman
Copy link
Contributor

Fix vpa-up.sh script by removing duplicate recommender from the vpa-process-yamls.sh. Tweak that script so that it can accept recommender-externalmetrics as an argument if someone wants to run that separately by having the script look in both the deploy and e2e directories.

Having both recommenders in this list breaks vpa-up.sh, see #6141.

What type of PR is this?

/kind bug

What this PR does / why we need it:

This fixes a small bug when running vpa-up.sh, which is a step in the VPA release process.

See #6141 for full details.

Which issue(s) this PR fixes:

Fixes #6141

Special notes for your reviewer:

I've taken a look at the PR that introduced this change and I don't think this should break anything but would love to confirm with @lallydd.

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

NONE

…ss-yamls.sh. Tweak that script so that it can accept recommender-externalmetrics as an argument.
@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. area/vertical-pod-autoscaler labels Sep 26, 2023
Copy link
Collaborator

@jbartosik jbartosik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lallydd, FYI looks like those lines were last changed in your #5576

/lgtm
/approve

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jbartosik, raywainman

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 27, 2023
@k8s-ci-robot k8s-ci-robot merged commit 8c684d6 into kubernetes:master Sep 27, 2023
4 checks passed
@raywainman raywainman deleted the vpa-up-fix branch September 27, 2023 15:01
@lallydd
Copy link
Contributor

lallydd commented Sep 27, 2023

I'll verify that the local testcase works, sorry for the troubles.

@raywainman
Copy link
Contributor Author

@lallydd I took a look at your PR and I think it should still work with these changes but definitely take a look if you can.

@lallydd
Copy link
Contributor

lallydd commented Sep 27, 2023

I just pulled, rebuilt, and tested. Local testing still works fine, thanks.

@Shubham82 Shubham82 mentioned this pull request Sep 28, 2023
Shubham82 added a commit to Shubham82/autoscaler that referenced this pull request Sep 29, 2023
k8s-ci-robot added a commit that referenced this pull request Oct 4, 2023
…elease-1.0-branch

Cherry pick #6151 to VPA release 1.0 branch
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. area/vertical-pod-autoscaler cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vertical-pod-autoscaler/hack/vpa-up.sh broken
4 participants