tanzu isolated-cluster

Prepares the TKG deployment in a proxied or air-gapped environment.

Usage

CLI plugin: isolated-cluster | Target: global | Primarily used for: Platform operations | Release Notes

Syntax:

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.

Important

Before you run tanzu isolated-cluster download-bundle, make sure the version number of the isolated-cluster plugin is compatible with your TKG version number as listed in TKG and Tanzu CLI Plugin Versions in About Tanzu Kubernetes Grid.

Usage

tanzu isolated-cluster download-bundle [FLAGS]

Example

To download the TKG v2.5 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.5.0

Flags

--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 flags are optional. If you do not specify any value, the system validates the default server security certificate.

-h, --help

Help text.

--insecure

Skips server certificate validation.

--source-repo

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

--tkg-custom-compatibility-image-path

The path to a custom compatibility image. For example, fips/tkg-compatibility.

--tkg-version

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

tanzu isolated-cluster list-bundle

Queries a source repo for the images and bundles needed to deploy a TKG version in an offline environment and saves the lists as text files in the current local directory. The files are named image_list_TKG-VERSION.conf and bundle_list_TKG-VERSION.conf where TKG-VERSION is a TKG version, for example v2.5.0.

Usage

tanzu isolated-cluster list-bundle [FLAGS]

Example

To create local files image_list_v2.5.0.conf and bundle_list_v2.5.0. that list the contents of the TKG v2.5.0 image bundle from the projects.registry.vmware.com/tkg registry:

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

Flags

--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 flags are optional. If you do not specify any value, the system validates the default server security certificate.

-h, --help

Help text.

--insecure

Skips server certificate validation.

--source-repo

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

--tkg-custom-compatibility-image-path

The path to a custom compatibility image. For example, fips/tkg-compatibility.

--tkg-version

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

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]

Example

To upload the TKG image bundle to the hostname1 registry:

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

Flags

--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 flags are optional. If you do not specify any value, the system validates the default server security certificate.

-h, --help

Help text.

--insecure

Skips server certificate validation.

--source-directory

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

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