Prepares the TKG deployment in a proxied or air-gapped environment.
CLI plugin: isolated-cluster
| Target: global
| Primarily used for: Platform operations | Release Notes
Syntax:
tanzu isolated-cluster [COMMAND] [FLAGS]
-h, --help
Help text.
--log-file
Path to the log file.
-v, --verbose
Log verbosity, from 0
to 9
.
Downloads the image TAR files for deploying TKG in a proxied or air-gapped environment.
ImportantBefore you run
tanzu isolated-cluster download-bundle
, make sure the version number of theisolated-cluster
plugin is compatible with your TKG version number as listed in TKG and Tanzu CLI Plugin Versions in About Tanzu Kubernetes Grid.
tanzu isolated-cluster download-bundle [FLAGS]
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
--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.
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
.
tanzu isolated-cluster list-bundle [FLAGS]
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
--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.
Uploads the images for deploying TKG in a proxied or air-gapped environment.
tanzu isolated-cluster upload-bundle [FLAGS]
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
--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.