mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Lower the log level for non-exist cadvisor stats.
For exited container, it is quite normal that cri stats are returned, but there is no corresponding cadvisor stats.
This commit is contained in:
parent
c103ba914e
commit
f9b8d27cef
@ -165,7 +165,7 @@ func (p *criStatsProvider) ListPodStats() ([]statsapi.PodStats, error) {
|
|||||||
// container stats
|
// container stats
|
||||||
caStats, caFound := caInfos[containerID]
|
caStats, caFound := caInfos[containerID]
|
||||||
if !caFound {
|
if !caFound {
|
||||||
klog.V(4).Infof("Unable to find cadvisor stats for %q", containerID)
|
klog.V(5).Infof("Unable to find cadvisor stats for %q", containerID)
|
||||||
} else {
|
} else {
|
||||||
p.addCadvisorContainerStats(cs, &caStats)
|
p.addCadvisorContainerStats(cs, &caStats)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user