The podAffinity rule says that the pod can be scheduled onto a node only if that node is in the same zone as at least one already-running pod that has a label with key "env" and value "Prod".

The podAntiAffinity rule says that the pod should not be scheduled onto a node if that node is in the same zone as a pod with label having key "env" and value "Staging".
