fix: clarify that the HPA controller selects the pods based on labels
This commit is contained in:
		
							parent
							
								
									d7e1bcaa36
								
							
						
					
					
						commit
						4bdcf5dd16
					
				| 
						 | 
				
			
			@ -57,7 +57,8 @@ Kubernetes implements horizontal pod autoscaling as a control loop that runs int
 | 
			
		|||
 | 
			
		||||
Once during each period, the controller manager queries the resource utilization against the
 | 
			
		||||
metrics specified in each HorizontalPodAutoscaler definition.  The controller manager 
 | 
			
		||||
obtains the metrics from either the resource metrics API (for per-pod resource metrics),
 | 
			
		||||
finds the target resource defined by the `scaleTargetRef`,
 | 
			
		||||
then selects the pods based on the target resource's `.spec.selector` labels, and obtains the metrics from either the resource metrics API (for per-pod resource metrics),
 | 
			
		||||
or the custom metrics API (for all other metrics).
 | 
			
		||||
 | 
			
		||||
* For per-pod resource metrics (like CPU), the controller fetches the metrics
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue