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-pool-list-usage.golden
More file actions
35 lines (27 loc) · 1.68 KB
/
test-all-usage-k8s-pool-list-usage.golden
File metadata and controls
35 lines (27 loc) · 1.68 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
32
33
34
35
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
This method allows to list all the existing pools for a specific Kubernetes cluster.
USAGE:
scw k8s pool list [arg=value ...]
EXAMPLES:
List all pools for a given cluster
scw k8s pool list cluster-id=11111111-1111-1111-111111111111
List all scaling pools for a given cluster
scw k8s pool list cluster-id=11111111-1111-1111-111111111111 status=scaling
List all pools for a given cluster that contain the word foo in the pool name
scw k8s pool list cluster-id=11111111-1111-1111-111111111111 name=foo
List all pools for a given cluster and order them by ascending creation date
scw k8s pool list cluster-id=11111111-1111-1111-111111111111 order-by=created_at_asc
ARGS:
cluster-id The ID of the cluster from which the pools will be listed from
[order-by] The sort order of the returned pools (created_at_asc | created_at_desc | updated_at_asc | updated_at_desc | name_asc | name_desc | status_asc | status_desc | version_asc | version_desc)
[name] The name on which to filter the returned pools
[status] The status on which to filter the returned pools (unknown | ready | deleting | deleted | scaling | warning | locked | upgrading)
[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 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, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use