Update taint-and-toleration.md

delete 

```shell
kubectl taint nodes node1 key:NoSchedule-
```

docs en no that
This commit is contained in:
Imer 2020-09-23 15:24:44 +08:00 committed by GitHub
parent 38db6f1cb3
commit d7382474a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -64,10 +64,6 @@ kubectl taint nodes node1 key:NoSchedule-
给节点 `node1` 增加一个污点,它的键名是 `key`,键值是 `value`,效果是 `NoSchedule`
这表示只有拥有和这个污点相匹配的容忍度的 Pod 才能够被分配到 `node1` 这个节点。
```shell
kubectl taint nodes node1 key:NoSchedule-
```
若要移除上述命令所添加的污点,你可以执行:
```shell