kubekey/docs/commands/kk-delete-node.md
24sama 56d3edfdca add kk command doc
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-03-17 11:15:46 +08:00

22 lines
471 B
Markdown

# NAME
**kk delete node**: Delete a node.
# DESCRIPTION
Delete a node. This command will use the `kubectl drain` to safely evict all pods, and then use `kubectl delete node` to delete the specified node.
# OPTIONS
## **--debug**
Print detailed information. The default is `false`.
## **--filename, -f**
Path to a configuration file.
# EXAMPLES
Delete a node named `node2` from a specified configuration file.
```
$ kk delete node node2 -f config-example.yaml
```