Skip to content

Commit ca03149

Browse files
authored
Merge pull request #26501 from minchao/patch-1
[zh] Sync taint and toleration example
2 parents bab25f4 + 0477c9a commit ca03149

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ kubectl taint nodes node1 key1=value1:NoSchedule-
6767
若要移除上述命令所添加的污点,你可以执行:
6868

6969
```shell
70-
kubectl taint nodes node1 key:NoSchedule-
70+
kubectl taint nodes node1 key1=value1:NoSchedule-
7171
```
7272

7373
<!--
@@ -131,7 +131,7 @@ An empty `effect` matches all effects with key `key1`.
131131
如果一个容忍度的 `key` 为空且 operator 为 `Exists`,
132132
表示这个容忍度与任意的 key 、value 和 effect 都匹配,即这个容忍度能容忍任意 taint。
133133

134-
如果 `effect` 为空,则可以与所有键名 `key` 的效果相匹配。
134+
如果 `effect` 为空,则可以与所有键名 `key1` 的效果相匹配。
135135
{{< /note >}}
136136

137137
<!--

0 commit comments

Comments
 (0)