<p>Is there a way to tell Kubernetes to never run two pods on the same node, an example I have two pods replicas, I want them to be always distributed over <code>zone1/zone2</code> and never in the same zone together.</p>

<pre><code>apiVersion: app/v1
kind: Deployment
metadata:
  name: testApp
  labels:
    app: testApp-front
  namespace: 
spec:
  replicas: 2
  selector:
    matchLabels:
      app: testApp-front
  template:
    metadata:
      labels:
        app: testApp-front
    spec:      
      nodeSelector:
        failure-domain.beta.kubernetes.io/zone: zone1
</code></pre>

Dady
<p>very simple you can  use deamon set to run every pod in diffrent node or as the others said you can use  pod anti-affinity</p>
