Difference between revisions of "Kubernetes Cluster Autoscaler"
Jump to navigation
Jump to search
(25 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | Kubernetes Cluster Autoscaler | ||
* https://github.com/kubernetes/autoscaler | * https://github.com/kubernetes/autoscaler | ||
+ | |||
+ | * <code>[[k8s.io/cluster-autoscaler/]]</code> | ||
+ | |||
+ | kubectl get pods -A | grep autoscaler | ||
+ | [[cluster-autoscaler]] cluster-autoscaler-86cff49xx4-6tcht 1/1 Running 1 | ||
+ | (109d ago) 123d | ||
+ | |||
+ | [[helm list -A]] | grep autoscaler | ||
+ | cluster-autoscaler cluster-autoscaler 1 2022-06-06 11:11:42.560486 +0200 CEST deployed cluster-autoscaler-[[9.16.2]] 1.23.0 | ||
+ | |||
+ | autoScaler: | ||
+ | enabled: true | ||
+ | min: 2 | ||
+ | max: 20 | ||
+ | |||
+ | [[kubectl get pods -n cluster-autoscaler -o yaml cluster-autoscaler-0987654321]] | ||
+ | |||
+ | [[kubectl get events]] -o yaml | grep message | ||
+ | message: '0/2 nodes are available: 2 Insufficient cpu.' | ||
+ | message: 'pod didn''t trigger scale-up: ' | ||
== Related terms == | == Related terms == | ||
* [[Horizontal Pod Autoscaler (HPA)]] | * [[Horizontal Pod Autoscaler (HPA)]] | ||
+ | * [[Kubernetes Vertical Pod Autoscaler (VPA)]] | ||
+ | * [[Karpenter]] | ||
* <code>[[kubectl scale deployment]]</code> | * <code>[[kubectl scale deployment]]</code> | ||
− | * [[ | + | * <code>[[autoScaler:]]</code> |
+ | * <code>[[FailedScheduling]]</code> | ||
+ | * [[Control Plane]] | ||
+ | |||
+ | == Activities == | ||
+ | * Read https://docs.aws.amazon.com/eks/latest/userguide/autoscaling.html#cluster-autoscaler | ||
== See also == | == See also == | ||
+ | * {{Kubernetes Autoscaler}} | ||
* {{HPA}} | * {{HPA}} | ||
− | * {{ | + | * {{Kubernetes autoscaling}} |
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 16:13, 2 October 2024
Kubernetes Cluster Autoscaler
kubectl get pods -A | grep autoscaler cluster-autoscaler cluster-autoscaler-86cff49xx4-6tcht 1/1 Running 1 (109d ago) 123d
helm list -A | grep autoscaler cluster-autoscaler cluster-autoscaler 1 2022-06-06 11:11:42.560486 +0200 CEST deployed cluster-autoscaler-9.16.2 1.23.0
autoScaler: enabled: true min: 2 max: 20
kubectl get pods -n cluster-autoscaler -o yaml cluster-autoscaler-0987654321
kubectl get events -o yaml | grep message message: '0/2 nodes are available: 2 Insufficient cpu.' message: 'pod didnt trigger scale-up: '
Related terms[edit]
- Horizontal Pod Autoscaler (HPA)
- Kubernetes Vertical Pod Autoscaler (VPA)
- Karpenter
kubectl scale deployment
autoScaler:
FailedScheduling
- Control Plane
Activities[edit]
See also[edit]
- Kubernetes Autoscaler,
cluster-autoscaler-status
, Kubernetes Vertical Pod Autoscaler (VPA),k8s.io/cluster-autoscaler/enabled
- Horizontal Pod Autoscaler (HPA), Horizontal cluster-proportional-autoscaler container, Kubernetes cluster-proportional-vertical-autoscaler, Kubernetes Horizontal cluster-proportional-autoscaler container,
FailedGetResourceMetric
- Kubernetes autoscaling, HPA, VPA, Karpenter, Kubernetes Autoscaler,
kubectl autoscale
, Kubernetes Metrics Server (KMS)
Advertising: