Docker – Allow scheduling multiple pod when we have anti affinity enabled
I have a deployment where I have added affinity as below - affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: kubernetes.io/hostname operator: In values: - example.com podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: component operator: In values: - myapp topologyKey:…