As a vSphere administrator, you can create and configure a Supervisor Namespace as a self-service namespace template. DevOps engineers can then create and delete Supervisor Namespaces using the kubectl command line.

Prerequisites

Configure a cluster with vSphere with Tanzu.

Procedure

  1. In the vSphere Client, select the vSphere cluster where the Supervisor Cluster is enabled.
  2. In the Configure tab, select Namespaces > General.
  3. Select Namespace Service.
  4. Toggle the Status switch to enable the feature.
    The Create Namespace Template page appears.
  5. In the Configuration pane, configure resource limitations to the namespace.
    Option Description
    CPU The amount of CPU resources to reserve for the namespace.
    Memory The amount of memory to reserve for the namespace.
    Storage The total amount of storage space to reserve for the namespace.
    Storage Policy Set the amount of storage dedicated individually to each of the storage policies that you associated with the namespace.
    Network From the Network drop-down menu, select a network for the namespace.
  6. Click Next.
  7. In the Permissions pane, add DevOps engineers and groups to empower them to use the template to create namespaces.
    Select an identity source and a user or a group and click Next.
  8. In the Review and Confirm pane, the properties you configure are displayed.
    Review the properties and click Done.

Results

A namespace template is configured and is in Active state. As a vSphere administrator, you can edit the template. DevOps engineers can use the template to create namespaces.