mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	modify SchedulerCacheSize field comment because it will be removed at v1.34
This commit is contained in:
		
							
								
								
									
										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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Keisuke Ishigami
					Keisuke Ishigami