Study FAQ
What is the difference between a vSphere Namespace and a Kubernetes namespace in VKS?
Also asked as 2
- Which namespace governs VKS infrastructure and which governs application resources?
- Where do infrastructure limits and application namespace policies apply in VKS?
Answer
A vSphere Namespace scopes infrastructure consumption on the Supervisor, including the approved VM classes, storage policies, and resource limits for VKS clusters and other supported workloads. A Kubernetes namespace inside a VKS cluster scopes application objects such as Pods, Services, Secrets, and namespaced role bindings.
For example, if a team needs an additional VM class for its worker node VMs, the change belongs to the vSphere Namespace's infrastructure policy. If two applications need separate resource quotas within a VKS cluster, define a Kubernetes ResourceQuota in each applicable Kubernetes namespace. Cluster-scoped resources, such as Nodes and PersistentVolumes, sit outside those application namespace scopes.
Access has to be evaluated on the appropriate API. A vSphere Namespace role can carry workload-cluster privileges through VMware's role mapping, so verify the effective cluster access. A role in the workload cluster cannot offer a VM class or storage policy that the infrastructure has not exposed.
Full explanation
Designing vSphere Namespaces for Governance and Isolation
Study guide · 3V0-24.25
Read the full explanation