diff --git a/pkg/features/koordlet_features.go b/pkg/features/koordlet_features.go index 6b3c0dfb7..0f0b746d7 100644 --- a/pkg/features/koordlet_features.go +++ b/pkg/features/koordlet_features.go @@ -92,13 +92,6 @@ const ( // Accelerators enables GPU related feature in koordlet. Only Nvidia GPUs supported. Accelerators featuregate.Feature = "Accelerators" - // owner: @songtao98 @zwzhang0107 - // nolint:staticcheck // SA1019 this deprecated field still needs to be used for now. - // Deprecated: This feature gate will be removed in v1.1, - // please use CPICollector instead ASAP. - // PerformanceCollector enables cpi collector feature of koordlet. - PerformanceCollector featuregate.Feature = "PerformanceCollector" - // owner: @songtao98 @zwzhang0107 // alpha: v1.0 // @@ -131,7 +124,6 @@ var ( CgroupReconcile: {Default: false, PreRelease: featuregate.Alpha}, NodeTopologyReport: {Default: true, PreRelease: featuregate.Beta}, Accelerators: {Default: false, PreRelease: featuregate.Alpha}, - PerformanceCollector: {Default: false, PreRelease: featuregate.Alpha}, CPICollector: {Default: false, PreRelease: featuregate.Alpha}, PSICollector: {Default: false, PreRelease: featuregate.Alpha}, } diff --git a/pkg/koordlet/metricsadvisor/collector.go b/pkg/koordlet/metricsadvisor/collector.go index a8efa1312..ce7a3acfa 100644 --- a/pkg/koordlet/metricsadvisor/collector.go +++ b/pkg/koordlet/metricsadvisor/collector.go @@ -150,7 +150,7 @@ func (c *collector) Run(stopCh <-chan struct{}) error { return } ic.collectContainerCPI() - }, []featuregate.Feature{features.PerformanceCollector, features.CPICollector}, c.config.CPICollectorIntervalSeconds, stopCh) + }, []featuregate.Feature{features.CPICollector}, c.config.CPICollectorIntervalSeconds, stopCh) util.RunFeature(func() { // psi collector support only on anolis os currently