Unable to upgrade the TKC cluster to the latest version because of unavailability of all the images in NSX CONTENT Library used by NSX Application Platform (NAPP)
search cancel

Unable to upgrade the TKC cluster to the latest version because of unavailability of all the images in NSX CONTENT Library used by NSX Application Platform (NAPP)

book

Article ID: 380531

calendar_today

Updated On:

Products

VMware NSX VMware vDefend Firewall VMware vDefend Firewall with Advanced Threat Prevention VMware vDefend Network Detection and Response

Issue/Introduction

  • can not upgrade Tanzu Kubernetes Cluster running NSX Application Platform because it does not have all the TKR images.

 

Environment

NSX Application Platform 4.2

Tanzu Kubernetes Cluster 

Cause

  • This happens because content library created during NAPP deployment does not have all the Tanzu Kubernetes Release images uploaded. 
  • Content library is created is of type local and there is no sync happening with public repository to pull the latest available images.

Resolution

  1. manually download images from public repository https://wp-content.vmware.com/v2/latest/ and upload it to your content library
    On vCenter UI Go to Content library >> NSX content library >> Action >> import >> from local computer.

    OR

  2. if you have another content library which is subscribed to public repository having the TKR images, attach it to Supervisor namespace(where TKC cluster is deployed). This will make all the images in this content library available for upgrade.
    On vCenter UI Go to Workload control plane management >> namespace >> select your namespace>> Under VM service tile you will see Manage content library >> select the subscribed content library >> Click OK

  • Observe the recent task on vCenter, once the sync is completed, verify all the images are available for upgrade inside supervisor cluster.

    kubectl get tkr -n <namespace>