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-create-usage.stderr.golden
More file actions
38 lines (31 loc) · 2.2 KB
/
test-all-usage-k8s-pool-create-usage.stderr.golden
File metadata and controls
38 lines (31 loc) · 2.2 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
36
37
38
This method allows to create a new pool in a specific Kubernetes cluster.
USAGE:
scw k8s pool create <cluster-id ...> [arg=value ...]
EXAMPLES:
Create a pool named bar with 2 DEV1-XL on a given cluster
scw k8s pool create 11111111-1111-1111-111111111111 name=bar node-type=DEV1-XL size=2
Create a pool named fish with 5 GP1-L with autoscaling enabled within 0 and 10 nodes, autohealing enabled, and containerd as the container runtime on a given cluster
scw k8s pool create 11111111-1111-1111-111111111111 name=fish node-type=GP1-L size=5 min-size=0 max-size=10 autoscaling=true autohealing=true container-runtime=containerd
Create a tagged pool named turtle with 1 GP1-S which is using the already created placement group 2222222222222-2222-222222222222 for all the nodes in the pool on a given cluster
scw k8s pool create 11111111-1111-1111-111111111111 name=turtle node-type=GP1-S size=1 placement-group-id=2222222222222-2222-222222222222 tags.0=turtle tags.1=placement-group
ARGS:
cluster-id The ID of the cluster in which the pool will be created
name The name of the pool
node-type The node type is the type of Scaleway Instance wanted for the pool
[placement-group-id] The placement group ID in which all the nodes of the pool will be created
[autoscaling] The enablement of the autoscaling feature for the pool
size The size (number of nodes) of the pool
[min-size] The minimun size of the pool
[max-size] The maximum size of the pool
[container-runtime] The container runtime for the nodes of the pool (unknown_runtime | docker | containerd | crio)
[autohealing] The enablement of the autohealing feature for the pool
[tags.{index}] The 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 create
-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