To provision a Tanzu Kubernetes cluster in an air-gapped environment, verify that the virtual machine image is synchronized and available.

Note: After the Local Content Library is created and associated with the target Supervisor Namespace, it can take several minutes for the virtual machine image to synchronize and be available for provisioning a Tanzu Kubernetes cluster.

Procedure

  1. Log in to the Supervisor Cluster.
    For example:
    kubectl vsphere login --server IP-ADDRESS-SUPERVISOR-CLUSTER --vsphere-username VCENTER-SSO-USERNAME
  2. Switch context to the target Supervisor Namespace.
    kubectl config use-context SUPERVISOR-NAMESPACE
  3. Run the following command.
    kubectl get tanzukubernetesreleases
    Verify that you see the image you synchronized from the Local Content Library.
    NAME                                              AGE
    photon-3-k8s-v1.17.8---vmware.1-tkg.1.5417466     14m

What to do next

Create a Cluster Using the Local Image.