Merge pull request #130193 from kei01234kei/modify_comment_of_SchedulerCacheSize_field

modify SchedulerCacheSize field comment because it will be removed at v1.34
This commit is contained in:
Kubernetes Prow Robot
2025-02-17 04:08:29 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -758,7 +758,7 @@ func (cache *cacheImpl) updateMetrics() {
metrics.CacheSize.WithLabelValues("pods").Set(float64(len(cache.podStates)))
metrics.CacheSize.WithLabelValues("nodes").Set(float64(len(cache.nodes)))
// we intentionally keep them with the deprecation and will remove at v1.33.
// we intentionally keep them with the deprecation and will remove at v1.34.
//nolint:staticcheck
metrics.SchedulerCacheSize.WithLabelValues("assumed_pods").Set(float64(len(cache.assumedPods)))
//nolint:staticcheck

View File

@@ -110,7 +110,7 @@ var (
PermitWaitDuration *metrics.HistogramVec
CacheSize *metrics.GaugeVec
// Deprecated: SchedulerCacheSize is deprecated,
// and will be removed at v1.33. Please use CacheSize instead.
// and will be removed at v1.34. Please use CacheSize instead.
SchedulerCacheSize *metrics.GaugeVec
unschedulableReasons *metrics.GaugeVec
PluginEvaluationTotal *metrics.CounterVec