We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e26b0ba commit bcd1b8bCopy full SHA for bcd1b8b
content/zh-cn/examples/pods/pod-with-affinity-anti-affinity.yaml
@@ -8,10 +8,11 @@ spec:
8
requiredDuringSchedulingIgnoredDuringExecution:
9
nodeSelectorTerms:
10
- matchExpressions:
11
- - key: kubernetes.io/os
+ - key: topology.kubernetes.io/zone
12
operator: In
13
values:
14
- - linux
+ - antarctica-east1
15
+ - antarctica-west1
16
preferredDuringSchedulingIgnoredDuringExecution:
17
- weight: 1
18
preference:
0 commit comments