You can use Tanzu CLI to provision and manage the life cycle of TKG clusters on Supervisor.
Install the Tanzu CLI for working with TKG clusters on Supervisor.
Procedure
- Check the Tanzu CLI compatability table for the supported verison of the Tanzu CLI.
For TKG 2.2, the compatible Tanzu CLI version is v0.29.0.
- Visit VMware Customer Connect and log in.
- Select .
- Search for
vmware tanzu kubernetes grid
.
- Select VMware Tanzu Kubernetes Grid Product Binaries.
- Select version 2.2.0.
- Download the VMware Tanzu CLI for your operating system.
- Extract the contents of the archive file to a working directory named
tanzu
.
- Locate the Tanzu CLI binary in the file system path tanzu/tanzu-cli-bundle-<os>-<arch>/cli/core/v0.XX.0.
- Copy the Tanzu CLI binary to the working directory
tanzu
.
- Rename the Tanzu CLI binary to
tanzu
(or tanzu.exe
for Windows).
- Add the location of the Tanzu CLI binary to your system's PATH variable.
- Launch a shell or terminal or command line session.
- Verify Tanzu CLI installation by running
tanzu version
.
- Initialize the Tanzu CLI by running
tanzu init
.
- View the Tanzu CLI documentation by running
tanzu --help
.
Refer to the
VMware Tanzu CLI v0.29.x Reference guide for complete usage details.
tanzu version
version: v0.XX.X
buildDate: 202X-XX-XX
sha: xxxxxxxx
tanzu --help
Tanzu CLI
Usage:
tanzu [command]
Available command groups:
Run
management-cluster Kubernetes management cluster operations
package Tanzu package management
secret Tanzu secret management
telemetry Configure cluster-wide settings for telemetry
System
completion Output shell completion code
config Configuration for the CLI
init Initialize the CLI
login Login to the platform
plugin Manage CLI plugins
update Update the CLI
version Version information
Flags:
-h, --help help for tanzu
Use "tanzu [command] --help" for more information about a command.
Not logged in