設(shè)置不可調(diào)度
kubectl cordon node07-ingress
取消節(jié)點(diǎn)不可調(diào)度
kubectl uncordon node07-ingress
驅(qū)逐節(jié)點(diǎn)的pod
kubectl drain --ignore-daemonsets --delete-local-data node07-ingress
刪除節(jié)點(diǎn)
kubectl delete node node07-ingress
本文摘自 :https://www.cnblogs.com/