Difference between revisions of "Kubernetes Cluster Autoscaler"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Kubernetes Cluster Autoscaler
 
* https://github.com/kubernetes/autoscaler
 
* https://github.com/kubernetes/autoscaler
  
[[k8s.io/cluster-autoscaler/]]
+
* <code>[[k8s.io/cluster-autoscaler/]]</code>
  
 
  kubectl get pods -A | grep autoscaler
 
  kubectl get pods -A | grep autoscaler
Line 14: Line 15:
 
     min: 2
 
     min: 2
 
     max: 20
 
     max: 20
 
  
 
  [[kubectl get pods -n cluster-autoscaler -o yaml cluster-autoscaler-0987654321]]
 
  [[kubectl get pods -n cluster-autoscaler -o yaml cluster-autoscaler-0987654321]]
  
 
+
  [[kubectl get events]] -o yaml | grep message
  kubectl get events -o yaml | grep message
 
 
   message: '0/2 nodes are available: 2 Insufficient cpu.'
 
   message: '0/2 nodes are available: 2 Insufficient cpu.'
 
   message: 'pod didn''t trigger scale-up: '
 
   message: 'pod didn''t trigger scale-up: '
Line 25: Line 24:
 
== Related terms ==
 
== Related terms ==
 
* [[Horizontal Pod Autoscaler (HPA)]]
 
* [[Horizontal Pod Autoscaler (HPA)]]
 +
* [[Kubernetes Vertical Pod Autoscaler (VPA)]]
 
* [[Karpenter]]
 
* [[Karpenter]]
 
* <code>[[kubectl scale deployment]]</code>
 
* <code>[[kubectl scale deployment]]</code>

Latest revision as of 16:13, 2 October 2024

Advertising: