James001
James001

Reputation: 127

Kubernetes Autoscale Nodes

I have a project on Kubernetes and only 1 pod is running on each node and it has to be like that. How can I autoscale the nodes I want to build? So how can I create a new node when the load on the node increases. I am using AWS and Azure.

Upvotes: 0

Views: 775

Answers (2)

ffran09
ffran09

Reputation: 1035

I am not sure why you want to run a pod per node. We have separate groups of applications and each group runs on certain node groups. We use cluster autoscaler to scale down/up nodes based on usage. We then use taints and tolerations on pods/nodes for each group of application. Cluster auto scaler will scale up nodes for the specific application group is pods are in pending status.

added below portion -

One useful article about scaling in kubernetes is here. You can read about Cluster Autoscaler (CA) as well.

Upvotes: 2

KubePony
KubePony

Reputation: 154

I think you can try this with ClusterAutoscaler:

https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler

Upvotes: 1

Related Questions