kubectl version
Print the client and server version information for the current context
Options
Name | Description |
---|---|
-o, --output <Output Format> | Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file |
--client | If true, shows client version only (no server required) |
--short | If true, print just the version number |