Sitemap
Khaja Ehteshamuddin Ahmed

Khaja Ehteshamuddin Ahmed

DevSecOps Engineer and a Kubestronaut

About Cluster Autoscaler

Cluster Autoscaler (CA) is a Kubernetes component that automatically adjusts the number of nodes in your cluster based on demands of your workloads.

  1. It adds nodes when nodes are pending due to insufficient resources.
  2. Removes nodes when they’re underutilized and their pods can be moved elsewhere.

Our Goal here is to optimize the cost and performance by scaling the cluster dynamically.

Press enter or click to view image in full size
Ref: https://docs.aws.amazon.com/eks/latest/best-practices/cas.html

Get Khaja Ehteshamuddin Ahmed’s stories in your inbox

Join Medium for free to get updates from this writer.

How it Works ?

  • Watches for unschedulable pods.
  • Checks if adding a new node (from your configured node groups) could help.
  • If yes, requests your cloud provider to scale up.
  • Periodically checks for idle nodes.
  • If a node is underutilized and drainable, it’s removed (scale down).

Next: Setup Cluster Autoscaler

--

--