As a vSphere administrator, populate a content library with VM templates in OVA or OVF format. Your DevOps engineers can use the templates to provision new stand-alone virtual machines in the vSphere with Tanzu environment.
After you create a content library, you can populate it with items in several ways. This topic describes how to add items to a local content library by importing files from your local machine or from a Web server. For other ways to populate the content library, see Populating Libraries with Content .
Prerequisites
- Create a content library for VM provisioning. Create a Content Library for Stand-Alone VMs in vSphere with Tanzu.
- Use only compatible VM images that appear on VMware Cloud Marketplace as OVFs. To find compatible images, search for VM Service image on the VMware Cloud Marketplace web site. See an example of the VM Service image for CentOS at VM Service Image for CentOS.
- If your library is protected by a security policy, make sure that all library items are complaint. If a protected library includes a mix of compliant and non-compliant items, the kubectl get virtualmachineimages fails to present VM images to the DevOps engineers.
- Required privilege: and on the library.
Procedure
Results
The item appears on the Templates tab or on the Other Types tab.
What to do next
After you create the content library and populate it with VM templates, add the library to the namespace to give your DevOps users access to the content library. See Associate a VM Content Library with a Namespace in vSphere with Tanzu.