Add soft Pod anti-affinity to IMC dispatchers
@@ -30,6 +30,14 @@ spec:
metadata:
labels: *labels
spec:
+ affinity:
+ podAntiAffinity:
+ preferredDuringSchedulingIgnoredDuringExecution:
+ - podAffinityTerm:
+ labelSelector:
+ matchLabels: *labels
+ topologyKey: kubernetes.io/hostname
+ weight: 100
serviceAccountName: imc-dispatcher
containers:
- name: dispatcher
