Home > Back-end >  Kubernetes Autoscale Nodes
Kubernetes Autoscale Nodes

Time:01-28

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.

CodePudding user response:

I think you can try this with ClusterAutoscaler:

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

CodePudding user response:

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.

  •  Tags:  
  • Related