Update taint-and-toleration.md
delete ```shell kubectl taint nodes node1 key:NoSchedule- ``` docs en no that
This commit is contained in:
parent
38db6f1cb3
commit
d7382474a0
|
|
@ -64,10 +64,6 @@ kubectl taint nodes node1 key:NoSchedule-
|
|||
给节点 `node1` 增加一个污点,它的键名是 `key`,键值是 `value`,效果是 `NoSchedule`。
|
||||
这表示只有拥有和这个污点相匹配的容忍度的 Pod 才能够被分配到 `node1` 这个节点。
|
||||
|
||||
```shell
|
||||
kubectl taint nodes node1 key:NoSchedule-
|
||||
```
|
||||
|
||||
若要移除上述命令所添加的污点,你可以执行:
|
||||
|
||||
```shell
|
||||
|
|
|
|||
Loading…
Reference in New Issue