Prepares the TKG deployment in a proxied or air-gapped environment.
CLI plugin: isolated-cluster
| Plugin version: v0.31.0
| Target: global
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.4 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.4.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.