forked from scaleway/scaleway-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest-all-usage-k8s-node-delete-usage.golden
More file actions
28 lines (22 loc) · 1.25 KB
/
test-all-usage-k8s-node-delete-usage.golden
File metadata and controls
28 lines (22 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Delete a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
USAGE:
scw k8s node delete <node-id ...> [arg=value ...]
EXAMPLES:
Delete a node
scw k8s node delete 11111111-1111-1111-1111-111111111111
Delete a node without evicting workloads
scw k8s node delete 11111111-1111-1111-1111-111111111111 skip-drain=true
ARGS:
node-id ID of the node to replace
[skip-drain] Skip draining node from its workload (Note: this parameter is currently inactive)
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
FLAGS:
-h, --help help for delete
--list-sub-commands List all subcommands
GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use