Resource requirements in Kubernetes
Lets take 3 nodes K8s cluster as an example. Each nod has a set of CPU, memory and disk resources. Every POD consumes a set of resources whenever we deployed it on any node in the cluster. It is the K8s scheduler that decides which nodes that POD will deploy.
The scheduler will consider the amount of CPU, Memory etc.. required by POD and place it. The scheduler will place the POD on node 2 if the node 1 has not sufficient resources to place the POD.
If there no sufficient resources available in any of the Nodes, K8s scheduler will hold back…