[zh] Sync taint and toleration example

pull/26501/head
Minchao 2021-02-14 09:10:41 +08:00 committed by GitHub
parent fdcda624b3
commit 0477c9abbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ kubectl taint nodes node1 key1=value1:NoSchedule-
若要移除上述命令所添加的污点,你可以执行:
```shell
kubectl taint nodes node1 key:NoSchedule-
kubectl taint nodes node1 key1=value1:NoSchedule-
```
<!--
@ -131,7 +131,7 @@ An empty `effect` matches all effects with key `key1`.
如果一个容忍度的 `key` 为空且 operator 为 `Exists`
表示这个容忍度与任意的 key 、value 和 effect 都匹配,即这个容忍度能容忍任意 taint。
如果 `effect` 为空,则可以与所有键名 `key` 的效果相匹配。
如果 `effect` 为空,则可以与所有键名 `key1` 的效果相匹配。
{{< /note >}}
<!--