Update pod-with-affinity-anti-affinity.yaml

This commit is contained in:
yanrong.shi 2022-07-13 00:19:59 +08:00
parent e26b0bab26
commit bcd1b8b44e
1 changed files with 3 additions and 2 deletions

View File

@ -8,10 +8,11 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/os
- key: topology.kubernetes.io/zone
operator: In
values:
- linux
- antarctica-east1
- antarctica-west1
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference: