generated from bing/readnotes
14 lines
162 B
Markdown
14 lines
162 B
Markdown
|
|
||
|
标记节点为不可调度
|
||
|
|
||
|
```bash
|
||
|
kubectl cordon node2 hp800g3
|
||
|
```
|
||
|
|
||
|
排空节点
|
||
|
|
||
|
kubectl drain node2 hp800g3
|
||
|
|
||
|
删除节点
|
||
|
|
||
|
kubectl delete node node2 hp800g3
|