Cluster Autoscaler (CA) scales your cluster nodes supported unfinished pods.

In simple words, you can say scale up and scale down of nodes as demanded.

High-level CA Workflow

Prerequisites

  • Kubernetes Cluster (I tested with 1.10.11 via KOPS on AWS)
  • Resource limit set in deployment with HPA enabled
  • Metric Server installed

How to Setup Metric Server

How to Setup HPA

Assuming you have the below setup in working mode to carry out the testing, I have used the AWS environment and used t2.micro instances for testing. I have also configured a separate instance group (DB-pool) for testing

#tech #aws #kubernetes #devops #startup

Cluster Autoscaler in Kubernetes
2.15 GEEK