wodby cluster k3s-node remove
Remove a worker node from a k3s cluster
Remove a worker node from a k3s cluster: its pods move to other nodes, k3s stops on it and the node is deleted. The server can't be removed. A node that stores persistent volumes is refused unless --force is given, which loses their data; k3s-node list -o vertical lists them. Afterwards run sudo /usr/local/bin/wodby-k3s-uninstall on that server to remove k3s from it.
Usage
wodby cluster k3s-node remove CLUSTER_ID NODE_NAME [flags]
Options
| Flag | Description | Default |
|---|---|---|
--data string |
JSON request body | - |
-f, --file string |
Path to JSON request body | - |
--force |
Remove the node even though it stores persistent volumes, losing their data | false |
-h, --help |
help for remove | false |
--timeout duration |
Maximum time to wait | 10m0s |
--wait |
Wait for the created task or deployment to finish | false |
-y, --yes |
Confirm without prompting | false |
Options inherited from parent commands
| Flag | Description | Default |
|---|---|---|
--access-token string |
Access token | - |
--api-base-url string |
Public REST API base URL | https://apiv2.wodby.com/v1 |
--api-key string |
API key | - |
--ci-config-path string |
Path to CI config | /tmp/.wodby-ci.json |
-o, --output string |
Output format: table, vertical, or json | table |
--verbose |
Verbose output | false |