autoscaler icon indicating copy to clipboard operation
autoscaler copied to clipboard

[VPA] KEP-4902: Delete OOM Pods

Open RuriRyan opened this issue 3 years ago • 7 comments

Which component this PR applies to?

vertical-pod-autoscaler

What type of PR is this?

/kind documentation

What this PR does / why we need it:

KEP for #4730 and #4898

RuriRyan avatar May 20 '22 13:05 RuriRyan

cc: @jbartosik

mwielgus avatar May 31 '22 18:05 mwielgus

bump

RuriRyan avatar Jun 08 '22 07:06 RuriRyan

One more thing: we probably should only delete OOMing pods if we plan to increase their memory request.

We have information about current request and about recommendation target in updater so it's doable. I'm not sure how much work it will be. But I think we should do it (or at least note to do it later).

jbartosik avatar Jun 30 '22 11:06 jbartosik

One more thing: we probably should only delete OOMing pods if we plan to increase their memory request.

We have information about current request and about recommendation target in updater so it's doable. I'm not sure how much work it will be. But I think we should do it (or at least note to do it later).

line https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/pkg/updater/logic/updater.go#L260 returns a list of pods and could potenially be changed to return more information. But this is only a surface level view and more or less the first thing I found.

I'll add a section describing this and try out a couple implementations to see how easy it is, if it gets too complicated i'll leave a note.

RuriRyan avatar Jul 01 '22 12:07 RuriRyan

Hi, I'm back. It looks like we're stuck a bit on whether we should have just API change or API change and flag. I'd like to ask to help.

@RuriRyan @voelzmo Can you make it to the SIG meeting today? If you can maybe we can resolve it over there? Sorry about asking about it at the last moment

jbartosik avatar Jul 18 '22 13:07 jbartosik

This PR may require API review.

If so, when the changes are ready, complete the pre-review checklist and request an API review.

Status of requested reviews is tracked in the API Review project.

k8s-triage-robot avatar Jul 25 '22 14:07 k8s-triage-robot

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jbartosik, mwielgus, RuriRyan

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 Aug 30 '22 09:08 k8s-ci-robot