tanzu isolated-cluster

CLI plugin: isolated-cluster | Primarily used for: Tanzu Kubernetes Grid, Tanzu Kubernetes Grid 2 with Supervisor

The tanzu isolated-cluster command group prepares the TKG deployment in a proxied or air-gapped environment. This command group includes the following commands:

Usage

tanzu isolated-cluster [COMMAND] [FLAGS]

Global Flags

-h, --help

Help text.

--log-file

Path to the log file.

-v, --verbose

Log verbosity, from 0 to 9.

tanzu isolated-cluster download-bundle

Downloads the image TAR files for deploying TKG in a proxied or air-gapped environment.

Usage

tanzu isolated-cluster download-bundle [FLAGS]

Example

To download the TKG v2.1 image bundle from the projects.registry.vmware.com/tkg registry:

tanzu isolated-cluster download-bundle --source-repo projects.registry.vmware.com/tkg --tkg-version v2.1.0

Flags

-h, --help

Help text.

--source-repo

The IP address or the hostname of the registry where the images are stored.

--tkg-version

The version of Tanzu Kubernetes Grid that you want to deploy in the proxied or air-gapped environment.

--ca-certificate

The security certificate of the registry where the images are stored. To bypass the security certificate validation, use --insecure, instead of --ca-certificate. Both the flags are optional. If you do not specify any value, the system validates the default server security certificate.

tanzu isolated-cluster upload-bundle

Uploads the images for deploying TKG in a proxied or air-gapped environment.

Usage

tanzu isolated-cluster upload-bundle [FLAGS]

Flags

-h, --help

Help text.

--source-directory

The path to the location where the image TAR files are stored.

--destination-repo

The path to the private registry where the images will be hosted in the air-gapped environment.

--ca-certificate

The security certificate of the registry where the images are stored. To bypass the security certificate validation, use --insecure, instead of --ca-certificate. Both the flags are optional. If you do not specify any value, the system validates the default server security certificate.

Example

To upload the TKG v2.1 image bundle to the hostname1 registry:

tanzu isolated-cluster upload-bundle --source-directory ./ --destination-repo hostname1 --ca-certificate /tmp/registryca.crt

check-circle-line exclamation-circle-line close-line
Scroll to top icon