Study FAQ
How should I grant developers VKS workload access without giving them cluster lifecycle control?
Also asked as 2
- How do I grant a developer namespace-scoped VKS access without vSphere Namespace Can Edit?
- Which permissions let VKS developers work with application resources without managing clusters?
Answer
Grant the developer access to the intended VKS cluster API and bind the required Kubernetes verbs in the application's namespace. Broadcom documents that vSphere Namespace Can Edit grants cluster lifecycle control through the Supervisor and synchronizes cluster-admin into VKS clusters in that vSphere Namespace. Reserve it for users who need that authority.
Identify the user or group as it appears to the authenticated workload cluster. A VKS administrator can use a namespaced RoleBinding in the target cluster to grant a narrowly defined Role, or a suitable ClusterRole scoped to that namespace by the binding. Keep routine developer permissions separate from cluster-wide bindings and use service accounts for workload identities.
Use the supported VCF CLI access workflow on VCF 9 and an authenticated kubeconfig for the intended workload cluster before checking Kubernetes RBAC. From the developer's own context, verify both an expected permitted action and an expected denied action, for example with kubectl auth can-i list pods -n app-ns and kubectl auth can-i delete nodes. Check inherited group grants if the result is broader than intended.
Official references
Full explanation
Designing VKS Identity, RBAC, Certificates, and Registry Access
Study guide · 3V0-24.25
Read the full explanation