Skip to content

Commit d738247

Browse files
authored
Update taint-and-toleration.md
delete ```shell kubectl taint nodes node1 key:NoSchedule- ``` docs en no that
1 parent 38db6f1 commit d738247

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

content/zh/docs/concepts/scheduling-eviction/taint-and-toleration.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ kubectl taint nodes node1 key:NoSchedule-
6464
给节点 `node1` 增加一个污点,它的键名是 `key`,键值是 `value`,效果是 `NoSchedule`
6565
这表示只有拥有和这个污点相匹配的容忍度的 Pod 才能够被分配到 `node1` 这个节点。
6666

67-
```shell
68-
kubectl taint nodes node1 key:NoSchedule-
69-
```
70-
7167
若要移除上述命令所添加的污点,你可以执行:
7268

7369
```shell

0 commit comments

Comments
 (0)