kubernetes nodes status "NotReady" on autoscaling in aws

11/22/2018

Can anybody help me in autoscaling. I am trying to autoscale . Pods used to scale up but when pod scale upto 16 then all nodes get status "Not Ready" and after few min most of the pods get status unkown. I am trying to autoscale in aws. I am using kubernetes version 1.10.10 amd kops version 1.10.0

Please help me in this why not get state "not ready"

-- Rishabh Gupta
amazon-web-services
autoscaling
kubernetes
nodes

1 Answer

11/23/2018

This is happening because your nodes are not equipped in terms of resources(memory or cpu) to handle more pods and current pods has already consumed most of the resources, hence becomes not ready. To handle this situation, either you can increase the resources on your nodes or you create a cluster which auto scale.

If you can check the resources consumed by pod on each node, it will be very clear. Check the following guide to build large cluster in kubernetes.

https://kubernetes.io/docs/setup/cluster-large/

A guide to create auto scalar cluster here

Hope this helps.

-- Prafull Ladha
Source: StackOverflow