kops/docs/cli/kops_version.md

43 lines
985 B
Markdown

<!--- This file is automatically generated by make gen-cli-docs; changes should be made in the go CLI command code (under cmd/kops) -->
## kops version
Print the kOps version information.
### Synopsis
Print the kOps version and git SHA.
```
kops version [flags]
```
### Examples
```
kops version
```
### Options
```
-h, --help help for version
--server show the kOps version that made the last change to the state store.
--short only print the main kOps version. Useful for scripting.
```
### Options inherited from parent commands
```
--config string yaml config file (default is $HOME/.kops.yaml)
--name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable
--state string Location of state storage (kops 'config' file). Overrides KOPS_STATE_STORE environment variable
-v, --v Level number for the log level verbosity
```
### SEE ALSO
* [kops](kops.md) - kOps is Kubernetes Operations.