The vSphere administrator configures a Subscribed Content Library on the Supervisor Cluster. The virtual machine image that is used for the Tanzu Kubernetes cluster nodes is pulled from this library.

A Subscribed Content Library originates from a Published Content Library. After the subscription is created, the system synchronizes it with the published library. To create the Tanzu Kubernetes cluster nodes, VMware publishes a Photon OS OVA library to which you subscribe. After the subscriber is synchronized with the publisher, you associate the content library with the Supervisor Cluster.

There are two ways to synchronize images.
  • On demand. The Content Library downloads subscribed images on demand.
  • On publish. The Content Library automatically synchronizes subscribed images when published.
Download on demand requires less storage space, which is an important consideration as more images containing different Kubernetes versions are published. However, the first time you use a new version, you have to wait for it to download.
Note: If the Subscribed Content Library reaches the storage capacity of its datastore, you must migrate the clusters to use a new library. See Migrate Tanzu Kubernetes Clusters to a New Content Library.

Prerequisites

The following privileges are required to create a Subscribed Content Library:
  • Content library.Create local library or Content library.Create subscribed library on the vCenter Server instance where you want to create the library.
  • Datastore.Allocate space on the destination datastore.

Procedure

  1. In the vSphere Client, select Menu > Content Libraries.
  2. Click the Create a new content library icon.
    The New Content Library wizard opens.
  3. Enter identification information at the Name and location page.
    1. Enter a Name for the Content Library.
    2. For the vCenter Server, select the vCenter Server instance where the Supervisor Cluster is configured.
    3. Click Next.
  4. Provide content library configuration details at the Configure content library page.
    1. Select the menu item Subscribed content library.
    2. In the Subscription URL text box, enter the URL address of the published library: https://wp-content.vmware.com/v2/latest/lib.json.
    3. For the Download content option, select the option Download library content only when needed, which downloads the OVA on demand.
    4. Click Next.
  5. When prompted, accept the SSL certificate thumbprint.
    The SSL certificate thumbprint is stored on your system until you delete the subscribed content library from the inventory.
  6. On the Add storage page, select a datastore as a storage location for the content library contents and click Next.
  7. On the Ready to complete page, review the details and click Finish.
  8. On the Content Libraries page, confirm that the library is synchronized.
  9. Navigate to the Menu > Hosts and Clusters view.
  10. In the vSphere inventory, select the vSphere cluster object and select the Configure tab.
  11. Select the Namespaces > General option.
  12. For the Content Library, click Edit.
  13. Click Add Library.
  14. Select the Kubernetes Subscribed Content Library you created.
  15. To finish the procedure, click OK .