Merge pull request #25307 from epiclen/patch-2

Update taint-and-toleration.md
This commit is contained in:
Kubernetes Prow Robot
2020-11-29 22:58:48 -08:00
committed by GitHub
@@ -61,7 +61,7 @@ To remove the taint added by the command above, you can run:
kubectl taint nodes node1 key1=value1:NoSchedule-
```
-->
给节点 `node1` 增加一个污点,它的键名是 `key`,键值是 `value`,效果是 `NoSchedule`
给节点 `node1` 增加一个污点,它的键名是 `key1`,键值是 `value1`,效果是 `NoSchedule`
这表示只有拥有和这个污点相匹配的容忍度的 Pod 才能够被分配到 `node1` 这个节点。
若要移除上述命令所添加的污点,你可以执行: