kubernetes / autoscaler

Autoscaling components for Kubernetes
Apache License 2.0
7.99k stars 3.94k forks source link

[vpa-release-1.1] Automated cherry pick of #6903: vpa-updater: Log the Pod namespace when evicting a Pod #6964

Closed ialidzhikov closed 3 months ago

ialidzhikov commented 3 months ago

/area vertical-pod-autoscaler /kind bug

Cherry pick of #6903 on vpa-release-1.1.

6903: vpa-updater: Log the Pod namespace when evicting a Pod

Release Notes:

vpa-updater logging is now improved. In many cases it now logs the objects' namespaces as well.
ialidzhikov commented 3 months ago

/cc @kwiesmueller

Shubham82 commented 3 months ago

Thanks, @ialidzhikov for the fix. The changes look good to me.

/lgtm

ialidzhikov commented 3 months ago

@kwiesmueller could you have a look when you have time? Thanks in advance!

k8s-ci-robot commented 3 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ialidzhikov, kwiesmueller

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: - ~~[vertical-pod-autoscaler/OWNERS](https://github.com/kubernetes/autoscaler/blob/vpa-release-1.1/vertical-pod-autoscaler/OWNERS)~~ [kwiesmueller] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment