autoscaler icon indicating copy to clipboard operation
autoscaler copied to clipboard

Move targetCPUPercentile into a flag

Open matthyx opened this issue 3 years ago • 6 comments

Which component this PR applies to?

vertical-pod-autoscaler

What type of PR is this?

/kind feature

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #4786

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Add flags to specify recommender name and targetCPUPercentile via command line arguments.

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


matthyx avatar Apr 07 '22 14:04 matthyx

@jbartosik something like that? Let me know and I'll add some test coverage and docs.

matthyx avatar Apr 07 '22 14:04 matthyx

/test

matthyx avatar Apr 07 '22 14:04 matthyx

@matthyx: No presubmit jobs available for kubernetes/autoscaler@master

In response to this:

/test

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Apr 07 '22 14:04 k8s-ci-robot

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jul 13 '22 15:07 k8s-triage-robot

/remove-lifecycle stale @jbartosik can check and tell me what's missing, please?

matthyx avatar Aug 04 '22 11:08 matthyx

Please ping me when I should take another look

jbartosik avatar Aug 24 '22 12:08 jbartosik

Please ping me when I should take another look

I have added tests, please check their integration... and I also have an issue when I require early abort.

matthyx avatar Aug 24 '22 13:08 matthyx

Thanks @jbartosik I've missed that... does my change suit you?

matthyx avatar Aug 25 '22 14:08 matthyx

@jbartosik thanks for your help, I think we're good to go :)

matthyx avatar Aug 26 '22 20:08 matthyx

[APPROVALNOTIFIER] This PR is APPROVED

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

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 avatar Sep 02 '22 13:09 k8s-ci-robot

/hold cancel

jbartosik avatar Sep 20 '22 11:09 jbartosik

@jbartosik can you also change the "Draft" status of the PR? I cannot do it, strangely :(

matthyx avatar Sep 21 '22 08:09 matthyx

/lgtm

jbartosik avatar Sep 26 '22 13:09 jbartosik

@matthyx can you add some documentation on running multiple recommenders.

I think it can be quite simple, something like:

  • a yaml with recommender with different cpu percentile and name in flag
  • a short .md file pointing to the yaml and highlighting the flags and what they do.

jbartosik avatar Sep 26 '22 13:09 jbartosik