# Cluster Autoscaler

Cluster Autoscaler is a self-hosted infrastructure app. Kubernetes Cluster Autoscaler is a component that automatically adjusts worker nodes in autoscaling groups so cluster operators keep pod capacity while removing unneeded nodes. It is open source and self-hosted, installable on Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/4649/cluster-autoscaler

## Description

Kubernetes Cluster Autoscaler is a component that automatically adjusts worker nodes in autoscaling groups so cluster operators keep pod capacity while removing unneeded nodes.

## Platform availability

Available on 1 of 10 platforms: Helm.

## Health score

76/100 (Good), based on 3 of 4 factors.
- Maintained: 100 (last commit 0 days ago)
- Popular: 79 (9,007 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)

## Links

- Kubernetes (Helm): https://artifacthub.io/packages/helm/cluster-autoscaler/cluster-autoscaler
- GitHub: https://github.com/kubernetes/autoscaler

## Common questions

### How does Cluster Autoscaler decide when to add nodes?

It periodically checks for pending pods and increases the cluster size if that makes sense and the scaled-up cluster stays within user-provided constraints.

### Can I control whether DaemonSet pods are evicted?

Cluster Autoscaler may evict DaemonSets based on its cluster-wide configuration, but desired behavior can be specified on a per-pod basis.

### Can Cluster Autoscaler scale self-hosted GitLab runners running on spot instances?

A user reports that automatic scaling works well for self-hosted GitLab runners on Kubernetes with spot instances if the Cluster Autoscaler is configured properly.

### What can break an autoscaling node pool after virtual machine scale set changes?

Deleting the virtual machine scale set attached to the cluster can cause Cluster Autoscaler to fail. It can also cause problems when provisioning nodes and pods.

---
Source: Our Local Host (https://ourlocalhost.com/app/4649/cluster-autoscaler), the self-hosted and open-source app directory.
