Merge pull request #97056 from sjenning/status-loglevel

kubelet: reduce no-op status manager msg log level
This commit is contained in:
Kubernetes Prow Robot 2020-12-08 22:01:11 -08:00 committed by GitHub
commit cef6681602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -426,7 +426,7 @@ func (m *manager) updateStatusInternal(pod *v1.Pod, status v1.PodStatus, forceUp
// The intent here is to prevent concurrent updates to a pod's status from
// clobbering each other so the phase of a pod progresses monotonically.
if isCached && isPodStatusByKubeletEqual(&cachedStatus.status, &status) && !forceUpdate {
klog.V(3).Infof("Ignoring same status for pod %q, status: %+v", format.Pod(pod), status)
klog.V(5).Infof("Ignoring same status for pod %q, status: %+v", format.Pod(pod), status)
return false // No new status.
}