Difference between revisions of "Kubernetes Cluster Autoscaler"
Jump to navigation
Jump to search
(8 intermediate revisions by 2 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 | 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]] | ||
* <code>[[kubectl scale deployment]]</code> | * <code>[[kubectl scale deployment]]</code> | ||
− | |||
* <code>[[autoScaler:]]</code> | * <code>[[autoScaler:]]</code> | ||
* <code>[[FailedScheduling]]</code> | * <code>[[FailedScheduling]]</code> | ||
* [[Control Plane]] | * [[Control Plane]] | ||
− | |||
== Activities == | == Activities == | ||
Line 36: | Line 35: | ||
== See also == | == See also == | ||
+ | * {{Kubernetes Autoscaler}} | ||
* {{HPA}} | * {{HPA}} | ||
* {{Kubernetes autoscaling}} | * {{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: