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:
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.
tanzu isolated-cluster download-bundle [FLAGS]
To download the TKG v2.2 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.2.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 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 v2.2 image bundle to the hostname1
registry:
tanzu isolated-cluster upload-bundle --source-directory ./ --destination-repo hostname1 --ca-certificate /tmp/registryca.crt
--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.
--destination-repo
The path to the private registry where the images will be hosted in the air-gapped environment.
--insecure
Skips certificate validation.
--source-directory
The path to the location where the image TAR files are stored.