autoscaler icon indicating copy to clipboard operation
autoscaler copied to clipboard

Add the event of the pod to the VPA object

Open wangyang0616 opened this issue 1 year ago • 2 comments

Which component are you using?: vertical-pod-autoscaler

Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:

We have an event on pod object when a pod is evicted, like: kubectl get event

11m         Normal    EvictedByVPA            pod/vpa-deployment-demo-689c5d6cdb-r2jwj    Pod was evicted by VPA Updater to apply resource recommendation.

Can we have an pod evcited event on vpa object, that we can get the message from the vpa object, like kubectl describe $vpaName.

Describe the solution you'd like.:

Describe any alternative solutions you've considered.:

Additional context.:

wangyang0616 avatar Aug 09 '24 03:08 wangyang0616

/area vertical-pod-autoscaler

Shubham82 avatar Aug 09 '24 10:08 Shubham82

I'll take a look at doing it. /assign

Just note that I did ask sig-instrumentation if it's recommended to emit two events.

adrianmoisey avatar Oct 12 '24 14:10 adrianmoisey