mirror of https://github.com/kubernetes/kops.git
Merge pull request #16109 from prashantrewar/improve-kops-edit-cluster
Improve kops edit command
This commit is contained in:
commit
b4d787f390
|
|
@ -66,6 +66,9 @@ var (
|
||||||
editClusterExample = templates.Examples(i18n.T(`
|
editClusterExample = templates.Examples(i18n.T(`
|
||||||
# Edit a cluster configuration in AWS.
|
# Edit a cluster configuration in AWS.
|
||||||
kops edit cluster k8s.cluster.site --state=s3://my-state-store
|
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
|
||||||
`))
|
`))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,9 @@ kops edit cluster [CLUSTER] [flags]
|
||||||
```
|
```
|
||||||
# Edit a cluster configuration in AWS.
|
# Edit a cluster configuration in AWS.
|
||||||
kops edit cluster k8s.cluster.site --state=s3://my-state-store
|
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
|
### Options
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue