Skip to content

Commit b4d787f

Browse files
authored
Merge pull request #16109 from prashantrewar/improve-kops-edit-cluster
Improve kops edit command
2 parents 7c17b16 + 464975c commit b4d787f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

cmd/kops/edit_cluster.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ var (
6666
editClusterExample = templates.Examples(i18n.T(`
6767
# Edit a cluster configuration in AWS.
6868
kops edit cluster k8s.cluster.site --state=s3://my-state-store
69+
70+
# Set cluster spec values.
71+
kops edit cluster testcluster.k8s.local --set spec.kubernetesVersion=1.28.4
6972
`))
7073
)
7174

docs/cli/kops_edit_cluster.md

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)