As a vSphere administrator, you can create a vSphere Namespace, set CPU, memory, and storage limits to the namespace, assign permissions, and activate the namespace service on a cluster as a template. As a result, DevOps engineers can create a vSphere Namespace in a self-service manner and deploy workloads within it.
Self-Service Namespace Creation and Configuration Workflow
Create and Configure a Self-Service Namespace Template
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 IaaS control plane.
Procedure
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.
Deactivate a Self-Service Namespace
As a vSphere administrator, you can deactivate a self-service namespace on the cluster.
When you deactivate a self-service namespace template, DevOps engineers cannot use the template to create new namespaces on the cluster. They can delete the namespaces that they have already created.
Procedure
Create a Self-Service Namespace
As a DevOps Engineer, you can create a self-service namespace and run workloads within it. Once you create the namespace, you can share it with other DevOps Engineers or delete it when it is no longer required.
Prerequisites
- Verify that a vSphere administrator has created and activated a self-service namespace template on the cluster. See Create and Configure a Self-Service Namespace Template.
- Verify that you are added to the permissions list in the self-service namespace template either individually or as a member of a group .
- Get the IP address of the Supervisor control plane.
Procedure
Create a Self-Service Namespace with Annotations and Labels
DevOps engineers can create self-service namespaces with annotations and labels using the kubectl command line.
DevOps engineers can use a YAML manifest with user-defined annotations and labels.
Procedure
Update a Self-Service Namespace Using kubectl annotate and kubectl label
As a DevOps engineer you can update or delete self-service namespace annotations and labels using the kubectl annotate
and kubectl label
commands.
Prerequisites
Procedure
Update a Self-Service Namespace Using kubectl edit
As a DevOps engineer you can update self-service namespaces using the kubectl edit
command.
Prerequisites
Procedure
Delete a Self-Service Namespace
As a DevOps Engineer, you can delete a self-service namespace that you create.
Prerequisites
Verify that you have created a self-service namespace using the vSphere Plugin for kubectl.