As a cloud administrator, configure a local vSphere content library to store TKr (Tanzu Kubernetes releases) to be used as the base images for Tanzu Kubernetes Grid clusters and associate the library with the Supervisor.
Procedure
- Download an Ubuntu-based TKr from https://wp-content.vmware.com/v2/latest/ according to the required Kubernetes version, for example, v1.26.5---vmware.2-fips.1-tkg.1.
- Log in to the VI workload domain vCenter Server at https://<vcenter_server_fqdn>/ui as [email protected].
- From the vSphere Client Menu, select Content Libraries.
- On the Content Libraries page, click Create.
- On the Name and location page of the New Content Library wizard, enter a library name and select the vCenter Server instance for the VI workload domain, and click Next.
- On the Configure content library page, configure the content library downloads and click Next.
Setting |
Value |
Local content library |
Selected |
Enable publishing |
According to the need of your organization. |
Enable authentication |
According to the need of your organization. |
- On the Apply Security Policy page, select Apply security policy and click Next.
- On the Add storage page, select the datastore in the VI workload domain for the VM templates.
- Review the details on content library creation and click Finish.
- Add the content library to the Supervisor so that it is available to all the namespaces there.
- From the vSphere Client Menu, select Workload Management.
- Navigate to the Supervisor for AI workloads.
- On the Configure tab, select .
- On the General page that appears, expand Tanzu Kubernetes Grid Service, and next to Content Library, click Edit.
- Select the content library with the TKr images and click OK.