diff --git a/cmd/kops/edit_cluster.go b/cmd/kops/edit_cluster.go index 09f1518ea087b..f3d906bd4cd39 100644 --- a/cmd/kops/edit_cluster.go +++ b/cmd/kops/edit_cluster.go @@ -66,6 +66,9 @@ var ( editClusterExample = templates.Examples(i18n.T(` # Edit a cluster configuration in AWS. kops edit cluster k8s.cluster.site --state=s3://my-state-store + + # Set cluster spec values. + kops edit cluster testcluster.k8s.local --set spec.kubernetesVersion=1.28.4 `)) ) diff --git a/docs/cli/kops_edit_cluster.md b/docs/cli/kops_edit_cluster.md index d62c71865fe71..06f5e25289f3b 100644 --- a/docs/cli/kops_edit_cluster.md +++ b/docs/cli/kops_edit_cluster.md @@ -25,6 +25,9 @@ kops edit cluster [CLUSTER] [flags] ``` # Edit a cluster configuration in AWS. kops edit cluster k8s.cluster.site --state=s3://my-state-store + + # Set cluster spec values. + kops edit cluster testcluster.k8s.local --set spec.kubernetesVersion=1.28.4 ``` ### Options