From f9b8d27cefca85a10defcf937245c3449c0641f6 Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Tue, 26 Feb 2019 16:43:42 -0800 Subject: [PATCH] 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. --- pkg/kubelet/stats/cri_stats_provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/stats/cri_stats_provider.go b/pkg/kubelet/stats/cri_stats_provider.go index c2657d9b6a4..28bf4b1c212 100644 --- a/pkg/kubelet/stats/cri_stats_provider.go +++ b/pkg/kubelet/stats/cri_stats_provider.go @@ -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) }