Skip to content

Conversation

Rajat-0
Copy link
Contributor

@Rajat-0 Rajat-0 commented Feb 10, 2019

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 10, 2019
Copy link
Contributor

@mwielgus mwielgus left a comment

Choose a reason for hiding this comment

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

What is the purpose of this change? You are changing the build infrastructure for VPA ...

@Rajat-0
Copy link
Contributor Author

Rajat-0 commented Feb 13, 2019

@mwielgus I was trying to implement #1540

@mwielgus
Copy link
Contributor

OK, I noticed the bug in the description, but I'm not sure what is your plan in modifying the build scripts.

@Rajat-0
Copy link
Contributor Author

Rajat-0 commented Feb 13, 2019

@mwielgus So if I have to customize the arguments to be passed to the containers, then I have to change in Its pod's DockerFile( Recommender, Admission Controller, Updater)?

@mwielgus
Copy link
Contributor

You are changing the wrong Docker file. For example you should change this one:

https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/pkg/admission-controller/Dockerfile

Instead of the one that is used to compile stuff.

@mfilotto
Copy link

Maybe we could move default parameters to CMD as a best practice
https://medium.freecodecamp.org/docker-entrypoint-cmd-dockerfile-best-practices-abc591c30e21

And there is an extra i at the end of updater

@bskiba
Copy link
Member

bskiba commented Feb 22, 2019

/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 Feb 22, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bskiba

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 Feb 22, 2019
@k8s-ci-robot k8s-ci-robot merged commit 8584239 into kubernetes:master Feb 22, 2019
@mfilotto
Copy link

Any plan to build a new vpa images version to unlock this feature ?
Looking forward to be able to set arguments (set replicas to 1 in my use case)

@Leluke
Copy link

Leluke commented Sep 25, 2019

Hi how can I take advantage of this option? I wanted my VPA to restart pods even when there is only one replica of each.

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. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants