nodeSelector always chooses the same node #839
-
I have
For all services under my
after deploying these pods, they only ever get scheduled on k8s-node-4, despite there being 3 other worker nodes. I have noticed this behaviour in other namespaces too.
Any ideas on why this is happening? There are no taints or tolerations set on the other (unused) worker nodes. I've also tried removing the quotes around the nodeSelector's |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It sounds like the scheduler really likes |
Beta Was this translation helpful? Give feedback.
It sounds like the scheduler really likes
k8s-node-4
🙂 I'm pretty sure this is normal, kubernetes doesn't have any smart scheduling to balance pods across the worker nodes. If you cordon/draink8s-node-4
do the pods get shifted to another node?