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-list-usage.stderr.golden
More file actions
31 lines (24 loc) · 1.36 KB
/
test-all-usage-k8s-node-list-usage.stderr.golden
File metadata and controls
31 lines (24 loc) · 1.36 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
29
30
31
This method allows to list all the existing nodes for a specific Kubernetes cluster.
USAGE:
scw k8s node list <cluster-id ...> [arg=value ...]
EXAMPLES:
List all the nodes in the given cluster
scw k8s node list 11111111-1111-1111-111111111111
List all the nodes in the pool 2222222222222-2222-222222222222 in the given cluster
scw k8s node list 11111111-1111-1111-111111111111 pool-id=2222222222222-2222-222222222222
List all ready nodes in the given cluster
scw k8s node list 11111111-1111-1111-111111111111 status=ready
ARGS:
cluster-id The cluster ID from which the nodes will be listed from
[pool-id] The pool ID on which to filter the returned nodes
[order-by] The sort order of the returned nodes (created_at_asc | created_at_desc)
[name] The name on which to filter the returned nodes
[status] The status on which to filter the returned nodes (unknown | creating | not_ready | ready | deleting | deleted | locked | rebooting | creation_error)
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams)
FLAGS:
-h, --help help for list
GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human
-p, --profile string The config profile to use