autoscaler
autoscaler copied to clipboard
Add the event of the pod to the VPA object
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.:
/area vertical-pod-autoscaler
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.