modify SchedulerCacheSize field comment because it will be removed at v1.34

This commit is contained in:
Keisuke Ishigami 2025-02-15 17:50:41 +09:00
parent 9f2629123f
commit 6b16f05148
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