Update taint-and-toleration.md

This commit is contained in:
epiclen 2020-11-30 14:27:23 +08:00 committed by GitHub
parent 0b69ba78f0
commit 007d7e210c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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` 这个节点。
若要移除上述命令所添加的污点,你可以执行: