diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.golden index 9d87508264..ae4fd8f0d8 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.golden @@ -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 ...] diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-delete-usage.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-delete-usage.golden index bf8d2269d6..612d6c316e 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-delete-usage.golden @@ -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 [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-upgrade-usage.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-upgrade-usage.golden index b5e301a9fa..e0bdf303a2 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-upgrade-usage.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-upgrade-usage.golden @@ -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 [arg=value ...] diff --git a/docs/commands/k8s.md b/docs/commands/k8s.md index 85d0527f1e..ce27d23288 100644 --- a/docs/commands/k8s.md +++ b/docs/commands/k8s.md @@ -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:** @@ -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:** @@ -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:** diff --git a/internal/namespaces/k8s/v1/k8s_cli.go b/internal/namespaces/k8s/v1/k8s_cli.go index 1ce5e12f1c..bca62c6f9a 100644 --- a/internal/namespaces/k8s/v1/k8s_cli.go +++ b/internal/namespaces/k8s/v1/k8s_cli.go @@ -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", @@ -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", @@ -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",