generated from bing/readnotes
feat 添加删除node
This commit is contained in:
parent
b14cec0acf
commit
305fe7cc98
|
@ -0,0 +1,14 @@
|
||||||
|
|
||||||
|
标记节点为不可调度
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl cordon node2 hp800g3
|
||||||
|
```
|
||||||
|
|
||||||
|
排空节点
|
||||||
|
|
||||||
|
kubectl drain node2 hp800g3
|
||||||
|
|
||||||
|
删除节点
|
||||||
|
|
||||||
|
kubectl delete node node2 hp800g3
|
Loading…
Reference in New Issue