You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.golden
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
This method allows to create a new Kubernetes cluster on an account.
3
+
Creates a new Kubernetes cluster on a Scaleway account.
4
4
5
5
USAGE:
6
6
scw k8s cluster create [arg=value ...]
@@ -14,28 +14,28 @@ EXAMPLES:
14
14
15
15
ARGS:
16
16
[project-id] Project ID to use. If none is passed the default project ID will be used
17
-
[type] The type of the cluster
18
-
name=<generated> The name of the cluster
19
-
[description] The description of the cluster
20
-
[tags.{index}] The tags associated with the cluster
21
-
version=latest The Kubernetes version of the cluster
22
-
cni=cilium The Container Network Interface (CNI) plugin that will run in the cluster (unknown_cni | cilium | calico | weave | flannel | kilo)
23
-
pools.{index}.name The name of the pool
24
-
pools.{index}.node-type The node type is the type of Scaleway Instance wanted for the pool
25
-
[pools.{index}.placement-group-id] The placement group ID in which all the nodes of the pool will be created
26
-
[pools.{index}.autoscaling] The enablement of the autoscaling feature for the pool
27
-
pools.{index}.size The size (number of nodes) of the pool
28
-
[pools.{index}.min-size] The minimum size of the pool
29
-
[pools.{index}.max-size] The maximum size of the pool
30
-
[pools.{index}.container-runtime] The container runtime for the nodes of the pool (unknown_runtime | docker | containerd | crio)
31
-
[pools.{index}.autohealing] The enablement of the autohealing feature for the pool
32
-
[pools.{index}.tags.{index}] The tags associated with the pool
33
-
[pools.{index}.kubelet-args.{key}] The Kubelet arguments to be used by this pool. Note that this feature is to be considered as experimental
17
+
[type] Type of the cluster
18
+
name=<generated> Name of the cluster
19
+
[description] Description of the cluster
20
+
[tags.{index}] Tags associated with the cluster
21
+
version=latest Kubernetes version of the cluster
22
+
cni=cilium Container Network Interface (CNI) plugin that will run in the cluster (unknown_cni | cilium | calico | weave | flannel | kilo)
23
+
pools.{index}.name Name of the pool
24
+
pools.{index}.node-type Node type is the type of Scaleway Instance wanted for the pool
25
+
[pools.{index}.placement-group-id] Placement group ID in which all the nodes of the pool will be created
26
+
[pools.{index}.autoscaling] Defines whether the autoscaling feature is enabled for the pool
27
+
pools.{index}.size Size (number of nodes) of the pool
28
+
[pools.{index}.min-size] Minimum size of the pool
29
+
[pools.{index}.max-size] Maximum size of the pool
30
+
[pools.{index}.container-runtime] Container runtime for the nodes of the pool (unknown_runtime | docker | containerd | crio)
31
+
[pools.{index}.autohealing] Defines whether the autohealing feature is enabled for the pool
32
+
[pools.{index}.tags.{index}] Tags associated with the pool
33
+
[pools.{index}.kubelet-args.{key}] Kubelet arguments to be used by this pool. Note that this feature is to be considered as experimental
34
34
[pools.{index}.upgrade-policy.max-unavailable] The maximum number of nodes that can be not ready at the same time
35
35
[pools.{index}.upgrade-policy.max-surge] The maximum number of nodes to be created during the upgrade
36
-
[pools.{index}.zone] The Zone in which the Pool's node will be spawn in
37
-
[pools.{index}.root-volume-type] The system volume disk type (default_volume_type | l_ssd | b_ssd)
38
-
[pools.{index}.root-volume-size] The system volume disk size
36
+
[pools.{index}.zone] Zone in which the pool's nodes will be spawned
37
+
[pools.{index}.root-volume-type] System volume disk type (default_volume_type | l_ssd | b_ssd)
38
+
[pools.{index}.root-volume-size] System volume disk size
39
39
[autoscaler-config.scale-down-disabled] Disable the cluster autoscaler
40
40
[autoscaler-config.scale-down-delay-after-add] How long after scale up that scale down evaluation resumes
41
41
[autoscaler-config.estimator] Type of resource estimator to be used in scale up (unknown_estimator | binpacking)
@@ -47,8 +47,8 @@ ARGS:
47
47
[autoscaler-config.scale-down-utilization-threshold] Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down
48
48
[autoscaler-config.max-graceful-termination-sec] Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node
49
49
[auto-upgrade.enable] Whether or not auto upgrade is enabled for the cluster
50
-
[auto-upgrade.maintenance-window.start-hour] The start hour of the 2-hour maintenance window
51
-
[auto-upgrade.maintenance-window.day] The day of the week for the maintenance window (any | monday | tuesday | wednesday | thursday | friday | saturday | sunday)
50
+
[auto-upgrade.maintenance-window.start-hour] Start time of the two-hour maintenance window
51
+
[auto-upgrade.maintenance-window.day] Day of the week for the maintenance window (any | monday | tuesday | wednesday | thursday | friday | saturday | sunday)
52
52
[feature-gates.{index}] List of feature gates to enable
53
53
[admission-plugins.{index}] List of admission plugins to enable
54
54
[open-id-connect-config.issuer-url] URL of the provider which allows the API server to discover public signing keys
@@ -57,14 +57,14 @@ ARGS:
57
57
[open-id-connect-config.username-prefix] Prefix prepended to username
58
58
[open-id-connect-config.groups-claim.{index}] JWT claim to use as the user's group
59
59
[open-id-connect-config.groups-prefix] Prefix prepended to group claims
60
-
[open-id-connect-config.required-claim.{index}] Multiple key=value pairs that describes a required claim in the ID Token
60
+
[open-id-connect-config.required-claim.{index}] Multiple key=value pairs that describes a required claim in the ID token
61
61
[apiserver-cert-sans.{index}] Additional Subject Alternative Names for the Kubernetes API server certificate
62
62
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
63
63
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
64
64
65
65
DEPRECATED ARGS:
66
-
[enable-dashboard] The enablement of the Kubernetes Dashboard in the cluster
67
-
[ingress] The Ingress Controller that will run in the cluster (unknown_ingress | none | nginx | traefik | traefik2)
66
+
[enable-dashboard] Defines if the Kubernetes Dashboard is enabled in the cluster
67
+
[ingress] Ingress Controller that will run in the cluster (unknown_ingress | none | nginx | traefik | traefik2)
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-k8s-cluster-delete-usage.golden
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
This method allows to delete a specific cluster and all its associated pools and nodes. Note that this method will not delete any Load Balancers or Block Volumes that are associated with the cluster.
3
+
Deletes a specific cluster and all its associated pools and nodes. Note that this method will not delete any Load Balancers or Block Volumes that are associated with the cluster.
[with-additional-resources] Set true if you want to delete all volumes (including retain volume type) and loadbalancers whose name start with cluster ID
15
15
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-k8s-cluster-list-available-versions-usage.golden
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
This method allows to list the versions that a specific Kubernetes cluster is allowed to upgrade to. Note that it will be every patch version greater than the actual one as well a one minor version ahead of the actual one. Upgrades skipping a minor version will not work.
3
+
List the versions that a specific Kubernetes cluster is allowed to upgrade to. Results will comprise every patch version greater than the current patch, as well as one minor version ahead of the current version. Any upgrade skipping a minor version will not work.
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-k8s-cluster-reset-admin-token-usage.golden
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
This method allows to reset the admin token for a specific Kubernetes cluster. This will invalidate the old admin token (which will not be usable after) and create a new one. Note that the redownload of the kubeconfig will be necessary to keep interacting with the cluster (if the old admin token was used).
3
+
Reset the admin token for a specific Kubernetes cluster. This will invalidate the old admin token (which will not be usable afterwards) and create a new one. Note that you will need to redownload kubeconfig in order to keep interacting with the cluster.
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-k8s-cluster-update-usage.golden
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,22 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
This method allows to update a specific Kubernetes cluster. Note that this method is not made to upgrade a Kubernetes cluster.
3
+
Update a specific Kubernetes cluster. Note that this method is designed to update details such as name, description, tags and configuration. However, you cannot upgrade a cluster with this method. To do so, use the dedicated endpoint.
[tags.{index}] The new tags associated with the cluster
16
+
cluster-id ID of the cluster to update
17
+
[name] New external name of the cluster
18
+
[description] New description of the cluster
19
+
[tags.{index}] New tags associated with the cluster
20
20
[autoscaler-config.scale-down-disabled] Disable the cluster autoscaler
21
21
[autoscaler-config.scale-down-delay-after-add] How long after scale up that scale down evaluation resumes
22
22
[autoscaler-config.estimator] Type of resource estimator to be used in scale up (unknown_estimator | binpacking)
@@ -28,8 +28,8 @@ ARGS:
28
28
[autoscaler-config.scale-down-utilization-threshold] Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down
29
29
[autoscaler-config.max-graceful-termination-sec] Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node
30
30
[auto-upgrade.enable] Whether or not auto upgrade is enabled for the cluster
31
-
[auto-upgrade.maintenance-window.start-hour] The start hour of the 2-hour maintenance window
32
-
[auto-upgrade.maintenance-window.day] The day of the week for the maintenance window (any | monday | tuesday | wednesday | thursday | friday | saturday | sunday)
31
+
[auto-upgrade.maintenance-window.start-hour] Start time of the two-hour maintenance window
32
+
[auto-upgrade.maintenance-window.day] Day of the week for the maintenance window (any | monday | tuesday | wednesday | thursday | friday | saturday | sunday)
33
33
[feature-gates.{index}] List of feature gates to enable
34
34
[admission-plugins.{index}] List of admission plugins to enable
35
35
[open-id-connect-config.issuer-url] URL of the provider which allows the API server to discover public signing keys
@@ -38,13 +38,13 @@ ARGS:
38
38
[open-id-connect-config.username-prefix] Prefix prepended to username
39
39
[open-id-connect-config.groups-claim.{index}] JWT claim to use as the user's group
40
40
[open-id-connect-config.groups-prefix] Prefix prepended to group claims
41
-
[open-id-connect-config.required-claim.{index}] Multiple key=value pairs that describes a required claim in the ID Token
41
+
[open-id-connect-config.required-claim.{index}] Multiple key=value pairs that describes a required claim in the ID token
42
42
[apiserver-cert-sans.{index}] Additional Subject Alternative Names for the Kubernetes API server certificate
43
43
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
44
44
45
45
DEPRECATED ARGS:
46
-
[enable-dashboard] The new value of the Kubernetes Dashboard enablement
47
-
[ingress] The new Ingress Controller for the cluster (unknown_ingress | none | nginx | traefik | traefik2)
46
+
[enable-dashboard] New value of the Kubernetes Dashboard enablement
47
+
[ingress] New Ingress Controller for the cluster (unknown_ingress | none | nginx | traefik | traefik2)
0 commit comments