Commit f9b8d27c authored by Lantao Liu's avatar Lantao Liu

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.
parent c103ba91
...@@ -165,7 +165,7 @@ func (p *criStatsProvider) ListPodStats() ([]statsapi.PodStats, error) { ...@@ -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)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment