satya
satya

Reputation: 152

How to autoscale Kubernetes on AWS

I created kubernetes cluster on aws ec2 using kubeadm. Now I need to autoscale the K8's cluster when there are not enough resources on nodes to schedule new pods, How can I achieve autoscaling feature for my cluster?

Upvotes: 1

Views: 208

Answers (1)

coderanger
coderanger

Reputation: 54191

Unfortunately there isn't a great answer if you mean you manually ran kubeadm on some EC2 instance. cluster-autoscaler is the thing to use, but it requires you deploy your nodes using Autoscaling Groups. It's possible to use ASGs and kubeadm but I don't know of anything off-the-shelf for it.

Upvotes: 4

Related Questions