Skip to content

Commit 7ad60ca

Browse files
authored
Merge pull request #49991 from my-git9/np-20180
[zh-cn]remove unnecessary lines in taint-and-toleration.md
2 parents 35a4125 + e49a1be commit 7ad60ca

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

content/zh-cn/docs/concepts/scheduling-eviction/taint-and-toleration.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,6 @@ An empty `effect` matches all effects with key `key1`.
150150
如果 `key` 为空,那么 `operator` 必须是 `Exists`,匹配所有 key 和 value。
151151
注意,同时 `effect` 仍然需要匹配。
152152

153-
如果一个容忍度的 `key` 为空且 `operator` 为 `Exists`,
154-
表示这个容忍度与任意的 key、value 和 effect 都匹配,即这个容忍度能容忍任何污点。
155-
156153
如果 `effect` 为空,则可以与所有键名 `key1` 的效果相匹配。
157154
{{< /note >}}
158155

@@ -282,7 +279,7 @@ to the node after the taint is added. For example,
282279
则任何不能容忍这个污点的 Pod 都会马上被驱逐,任何可以容忍这个污点的 Pod 都不会被驱逐。
283280
但是,如果 Pod 存在一个 effect 值为 `NoExecute` 的容忍度指定了可选属性
284281
`tolerationSeconds` 的值,则表示在给节点添加了上述污点之后,
285-
Pod 还能继续在节点上运行的时间。例如
282+
Pod 还能继续在节点上运行的时间。例如
286283

287284
```yaml
288285
tolerations:

0 commit comments

Comments
 (0)