Merge pull request #8227 from k8s-infra-cherrypick-robot/cherry-pick-8204-to-vpa-release-1.3

[vpa-release-1.3] include pod namespace when logging updates
This commit is contained in:
Kubernetes Prow Robot 2025-06-18 03:22:51 -07:00 committed by GitHub
commit 89f9dd90b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ func (p *recommendationProvider) GetContainersResourcesForPod(pod *core.Pod, vpa
klog.V(2).InfoS("Can't calculate recommendations, one of VPA or Pod is nil", "vpa", vpa, "pod", pod)
return nil, nil, nil
}
klog.V(2).InfoS("Updating requirements for pod", "pod", pod.Name)
klog.V(2).InfoS("Updating requirements for pod", "pod", klog.KObj(pod))
var annotations vpa_api_util.ContainerToAnnotationsMap
recommendedPodResources := &vpa_types.RecommendedPodResources{}