CLI plugin: kubernetes-release
| Primarily used for: Tanzu Kubernetes Grid, Tanzu Kubernetes Grid 2 with Supervisor
The tanzu kubernetes-release
command group performs Kubernetes release operations. This command group includes the following commands:
tanzu kubernetes-release [COMMAND]
kubernetes-release
, kr
, and kubernetes-releases
-h, --help
Help text.
--log-file
Path to the log file.
-v, --verbose
Log verbosity, from 0
to 9
.
Activates the specified Tanzu Kubernetes release (TKr).
tanzu kubernetes-release activate TKR-NAME [FLAGS]
To activate v1.21.8---vmware.1-tkg.1
:
tanzu kubernetes-release activate v1.21.8---vmware.1-tkg.1
To list available TKrs, see tanzu kubernetes-release get.
-h, --help
Help text.
Discovers available upgrades for a specific TKr.
Command:
tanzu kubernetes-release available-upgrades get
Lists available upgrades for the specified TKr.
tanzu kubernetes-release available-upgrades get TKR-NAME [FLAGS]
To list available upgrades for v1.21.8---vmware.1-tkg.1
:
tanzu kubernetes-release available-upgrades get v1.21.8---vmware.1-tkg.1
To list available TKrs, see tanzu kubernetes-release get.
-h, --help
Help text.
Deactivates the specified TKr.
tanzu kubernetes-release deactivate TKR-NAME [FLAGS]
To deactivate v1.21.8---vmware.1-tkg.1
:
tanzu kubernetes-release deactivate v1.21.8---vmware.1-tkg.1
To list available TKrs, see tanzu kubernetes-release get.
-h, --help
Help text.
Lists available TKrs and their current compatibility and upgrade status. For more information, see Create Workload Clusters with Different Kubernetes Versions.
tanzu kubernetes-release get [FLAGS]
And:
tanzu kubernetes-release get TKR-NAME [FLAGS]
To list all available TKrs, except for incompatible and deactivated:
tanzu kubernetes-release get
To list the current compatibility and upgrade status for a specific TKr (for example, v1.21.8---vmware.1-tkg.1
):
tanzu kubernetes-release get v1.21.8---vmware.1-tkg.1
-a, --all
Lists all available TKrs, including incompatible and deactivated.
-h, --help
Help text.
-o, --output
Output format. Supported values are yaml
, json
, and table
.
Gets OS information for a TKr.
Command:
tanzu kubernetes-release os get
Lists available OSes for the specified TKr.
tanzu kubernetes-release os get TKR-NAME [FLAGS]
To list available OSes for v1.21.8---vmware.1-tkg.1
:
tanzu kubernetes-release os get v1.21.8---vmware.1-tkg.1
To list available TKrs, see tanzu kubernetes-release get.
-h, --help
Help text.
-o, --output
Output format. Supported values are yaml
, json
, and table
.
--region
The AWS region where the AMIs are available.