Update assign-pod-node.md

翻译错误
translation error
pull/27538/head
HeGaoYuan 2021-04-13 22:28:42 +08:00 committed by GitHub
parent 8f0424d057
commit 6af095a263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -548,8 +548,8 @@ empty `topologyKey` is not allowed.
Pod 反亲和性,`topologyKey` 不允许为空。
2. 对于 `requiredDuringSchedulingIgnoredDuringExecution` 要求的 Pod 反亲和性,
准入控制器 `LimitPodHardAntiAffinityTopology` 被引入来限制 `topologyKey`
`kubernetes.io/hostname`
如果你想使它可用于自定义拓扑结构,你必须修改准入控制器或者禁用它。
`kubernetes.io/hostname`
如果你想设置topologyKey为其他值用于自定义拓扑结构,你必须修改准入控制器或者禁用它。
3. 对于 `preferredDuringSchedulingIgnoredDuringExecution` 要求的 Pod 反亲和性,
空的 `topologyKey` 被解释为“所有拓扑结构”(这里的“所有拓扑结构”限制为
`kubernetes.io/hostname``topology.kubernetes.io/zone` 和