Switching the Default Content Library for vSphere with Tanzu
If you’re using vSphere with Tanzu based on vSphere 7 and vSphere 8, you may have noticed several differences, such as enabling Workload Management wizard in a separate section or editing the Supervisor cluster. Another change is that we no longer need to prepare Content Library in advance for vSphere with Tanzu deployment. However, if you have already downloaded and prepared Content Library, this guide will show you how to switch the default Content Library to a new (or existing) one. This step can be done before or after vSphere with Tanzu deployment.
Before we begin, please note that if vSphere with Tanzu is running, you should not interrupt the deployment process. Instead, follow these steps after the deployment is complete. If you have not deployed vSphere with Tanzu yet, you can look at my tutorial on how to deploy vSphere with Tanzu here:
Step 1: Log in to the vCenter Server
First, log in to the vCenter server and click on the “hamburger” icon in the upper left corner. Choose “Content Library” from the menu. On the next screen, create a new Content Library with the provided settings. I checked “Download all library content immediately” to start downloading images (templates) after Content Library creation.
Step 2: Creating a New Content Library
On the “Create Content Library” page, provide the following information:
* Name: Enter a name for your new Content Library.
* Subscription URL: Enter the subscription URL provided by VMware. The URL should be in the format of
Step 3: Configuring Content Library Settings
Once you have created your new Content Library, go to the “Configure” tab and choose “General.” From the left pane, choose “Tanzu Kubernetes Grid Service” and edit the Content Library settings.
Step 4: Applying Changes
Choose the “Tanzu” Content Library and apply changes with the OK button. Remember that this change will impact all running vSphere namespaces. That means vSphere namespaces will now start using the new Content Library.
Step 5: Deleting the Old Content Library
The deleting process of the old “Kubernetes Service Content Library” will start immediately. This Content Library is no longer needed, and its deletion will free up storage space.
Step 6: Verifying the New Content Library
After a while, the new Content Library will be set as default. You can verify this by going back to the “Content Library” page and checking the “Default” checkbox next to your new Content Library.
Conclusion
In this quick and easy guide, we have shown you how to switch the default Content Library to a new (or existing) one for vSphere with Tanzu. This step can be done before or after vSphere with Tanzu deployment. Remember that this change will impact all running vSphere namespaces, so plan accordingly. If you have any questions or comments, please feel free to leave them in the section below.