Skip to content
Snippets Groups Projects
Unverified Commit 189e1397 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub
Browse files

Merge pull request #8204 from voelzmo/enh/improve-admission-controller-logging

include pod namespace when logging updates
parents 76f2bf8a 18b96f2b
No related branches found
No related tags found
No related merge requests found
...@@ -118,7 +118,7 @@ func (p *recommendationProvider) GetContainersResourcesForPod(pod *core.Pod, vpa ...@@ -118,7 +118,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) klog.V(2).InfoS("Can't calculate recommendations, one of VPA or Pod is nil", "vpa", vpa, "pod", pod)
return nil, nil, nil 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 var annotations vpa_api_util.ContainerToAnnotationsMap
recommendedPodResources := &vpa_types.RecommendedPodResources{} recommendedPodResources := &vpa_types.RecommendedPodResources{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment