This commit is contained in:
RyderXia
2020-07-21 17:00:49 +08:00
parent 2214117cd1
commit 136df8ce53

View File

@@ -1228,7 +1228,6 @@ func (kl *Kubelet) StartGarbageCollection() {
func (kl *Kubelet) initializeModules() error {
// Prometheus metrics.
metrics.Register(
kl.runtimeCache,
collectors.NewVolumeStatsCollector(kl),
collectors.NewLogMetricsCollector(kl.StatsProvider.ListPodStats),
)