mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
modify SchedulerCacheSize field comment because it will be removed at v1.34
This commit is contained in:
parent
9f2629123f
commit
6b16f05148
2
pkg/scheduler/backend/cache/cache.go
vendored
2
pkg/scheduler/backend/cache/cache.go
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user