I've pods with two replicas, does it make sense that k8s will reschedule both replicas in the same time? if yes is there a way to avoid it ?
I guess(according to the replies from @Henry) that I need to use https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity or
topology https://kubernetes.io/blog/2020/05/introducing-podtopologyspread/
But not sure how to configure following:
1 application with 2 replicas that for example
Replica A runs on nodeFoo and
Replica B run in NodeBar