Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Creates a new Kubernetes cluster on a Scaleway account.
Create a new Kubernetes cluster on a Scaleway account.

USAGE:
scw k8s cluster create [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
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.
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.

USAGE:
scw k8s cluster delete <cluster-id ...> [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Upgrades a specific Kubernetes cluster and/or its associated pools to a specific and supported Kubernetes version.
Upgrade a specific Kubernetes cluster and/or its associated pools to a specific and supported Kubernetes version.

USAGE:
scw k8s cluster upgrade <cluster-id ...> [arg=value ...]
Expand Down
6 changes: 3 additions & 3 deletions docs/commands/k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ It is composed of different pools, each pool containing the same kind of nodes.

### Create a new cluster

Creates a new Kubernetes cluster on a Scaleway account.
Create a new Kubernetes cluster on a Scaleway account.

**Usage:**

Expand Down Expand Up @@ -129,7 +129,7 @@ scw k8s cluster create name=bar version=1.24.7 tags.0=tag1 tags.1=tag2 cni=calic

### Delete a cluster

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.
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.

**Usage:**

Expand Down Expand Up @@ -358,7 +358,7 @@ scw k8s cluster update 11111111-1111-1111-111111111111 feature-gates.0=TTLAfterF

### Upgrade a cluster

Upgrades a specific Kubernetes cluster and/or its associated pools to a specific and supported Kubernetes version.
Upgrade a specific Kubernetes cluster and/or its associated pools to a specific and supported Kubernetes version.

**Usage:**

Expand Down
6 changes: 3 additions & 3 deletions internal/namespaces/k8s/v1/k8s_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func k8sClusterList() *core.Command {
func k8sClusterCreate() *core.Command {
return &core.Command{
Short: `Create a new cluster`,
Long: `Creates a new Kubernetes cluster on a Scaleway account.`,
Long: `Create a new Kubernetes cluster on a Scaleway account.`,
Namespace: "k8s",
Resource: "cluster",
Verb: "create",
Expand Down Expand Up @@ -879,7 +879,7 @@ func k8sClusterUpdate() *core.Command {
func k8sClusterDelete() *core.Command {
return &core.Command{
Short: `Delete a cluster`,
Long: `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.`,
Long: `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.`,
Namespace: "k8s",
Resource: "cluster",
Verb: "delete",
Expand Down Expand Up @@ -922,7 +922,7 @@ func k8sClusterDelete() *core.Command {
func k8sClusterUpgrade() *core.Command {
return &core.Command{
Short: `Upgrade a cluster`,
Long: `Upgrades a specific Kubernetes cluster and/or its associated pools to a specific and supported Kubernetes version.`,
Long: `Upgrade a specific Kubernetes cluster and/or its associated pools to a specific and supported Kubernetes version.`,
Namespace: "k8s",
Resource: "cluster",
Verb: "upgrade",
Expand Down