Create a Subscribed Content Library
Before you can deploy a Tanzu
Kubernetes cluster, create a Subscribed Content Library to store virtual machine images that
the VMware Tanzu™ Kubernetes Grid™ Service uses to create Tanzu Kubernetes Cluster
nodes.
You can create a Subscribed Content Library using the vSphere Client or using
PowerShell.
- To create a Subscribed Content Library using the vSphere Client:
- In a web browser, log in to the workload domain vCenter Server by using the vSphere Client (https://<vcenter_server_fqdn>/ui).
- Select.
- In theContent Librariesinventory, click+Create.
- On theName and locationpage, configure the settings and clickNext.SettingValueNameKubernetesvCenter ServerSelect the workload domain vCenter Server.
- On theConfigure content librarypage, selectSubscribed content library, configure the settings and clickNext.SettingValueSubscription URLhttps://wp-content.vmware.com/v2/latest/lib.jsonEnable AuthenticationDeselectedDownload ContentImmediately
- In theKubernetes - Unable to verify authenticitydialog box, clickYesto accept the SSL certificate thumbprint.
- On theAdd Storagepage, select your vSAN datastore, clickNext.
- On theReady to Completepage, review the settings and clickFinish.
- To create a Subscribed Content Library using PowerShell:
- Open a PowerShell Console, define variables for the inputs by entering the following commands:$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUsername = "administrator@vsphere.local" $sddcManagerPassword = "VMw@re1!" $wldName = "sfo-w01" $contentLibraryUrl = "https://wp-content.vmware.com/v2/latest/lib.json" $contentLibraryName = "Kubernetes" $wldDatastoreName = "sfo-w01-cl01-ds-vsan01"
- Perform the configuration by entering the following commands:Add-ContentLibrary -Server $sddcManagerFqdn -User $sddcManagerUsername -Pass $sddcManagerPassword -Domain $wldName -ContentLibraryName $contentLibraryName -Datastore $wldDatastoreName -SubscriptionUrl $contentLibraryUrl