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.
pull/564/head
Lantao Liu 2019-02-26 16:43:42 -08:00
parent c103ba914e
commit f9b8d27cef
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ func (p *criStatsProvider) ListPodStats() ([]statsapi.PodStats, error) {
// container stats
caStats, caFound := caInfos[containerID]
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 {
p.addCadvisorContainerStats(cs, &caStats)
}