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-update-usage.stderr.golden
More file actions
34 lines (27 loc) · 1.37 KB
/
test-all-usage-k8s-pool-update-usage.stderr.golden
File metadata and controls
34 lines (27 loc) · 1.37 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
This method allows to update some attributes of a specific pool such as the size, the autoscaling enablement, the tags, ...
USAGE:
scw k8s pool update <pool-id ...> [arg=value ...]
EXAMPLES:
Enable autoscaling on a given pool
scw k8s pool update 11111111-1111-1111-111111111111 autoscaling=true
Reduce the size and max size of a given pool to 4
scw k8s pool update 11111111-1111-1111-111111111111 size=4 max-size=4
Change the tags of the given pool
scw k8s pool update 11111111-1111-1111-111111111111 tags.0=my tags.1=new tags.2=pool
ARGS:
pool-id The ID of the pool to update
[autoscaling] The new value for the enablement of autoscaling for the pool
[size] The new size for the pool
[min-size] The new minimun size for the pool
[max-size] The new maximum size for the pool
[autohealing] The new value for the enablement of autohealing for the pool
[tags.{index}] The new tags associated with the pool
[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 update
-w, --wait wait until the pool is ready
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