I have a kubernetes cluster with a few nodes set up. I want to make sure that pods are distributed efficiently on the nodes.
I'll explain:
Let's assume that I have two nodes:
Node 1 - 2gb ram
Node 2 - 2gb ram
And I have these pods:
Pod 1 - 1gb ram on Node 1
Pod 2 - 100mb ram on Node 1
Pod 3 - 1gb ram on Node 2
Pod 4 - 100mb ram on Node 2
Ok now the problem: let's say I want to add a pod with 1gb ram to the cluster. Currently there's no room in any node so kubernetes won't do it (unless I add another node). I wonder if there's a way that kubernetes will see that it can move Pod 3 to node 1 to make room for the new pod?
Help