The TKr version image might not upload properly causing a deployment failure.

Problem

The TKr version image is not found and a deployment error occurs.

Cause

The TKr version image might be uploaded incorrectly, the TKr version image might not be compatible, or NSX Application Platform Automation Appliance is not recognizing the image.

Solution

  • Check whether the required TKr version images have been uploaded to the content library. Verify that the image size is not 0 bytes.
  • Check the TKr version images.
    1. Log in to the Supervisor cluster.
      kubectl vsphere login --insecure-skip-tls-verify --vsphere-username [email protected] --server=20.20.0.21
    2. Verify that for each cvmi, the TKr version images are present.

      Each TKr version image has the Ready and Compatible field set, which can be either True or False.

      root@finaltest [ /opt/napp ]# kubectl get cvmi
  • If all the TKr version images do not show up, check the controller logs and report the error to support.
    kubectl logs -f vmware-system-tkg-controller-manager-96b78cc5-bkptp -n vmware-system-tkg -c manager
  • If the TKr version image is present, but NSX Application Platform Automation Appliance is not recognizing the image.
    kubectl logs tkr-conversion-webhook-manager-7f958f5c6f-qjpww -n vmware-system-tkg
  • Verify that there are no underlying errors before you proceed to the next step.
  • In the NSX Application Platform Automation Appliance deployment wizard, navigate to the Deploy TKG tab and click Update & Redeploy.

    The Tanzu Kubernetes Grid deployment completes successfully.