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
- In the vSphere Client, select the vSphere cluster where the Supervisor Cluster is enabled.
- In the Configure tab, select .
- Select Namespace Service.
- Toggle the Status switch to enable the feature.
The
Create Namespace Template page appears.
- 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. |
- Click Next.
- 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.
- 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.