Cluster Authentication
To allow users to securely submit workloads using kubectl, you must configure the Kubernetes API server to authenticate users via the NVIDIA Run:ai identity provider. This is done by adding OpenID Connect (OIDC) flags to the Kubernetes API server configuration on each cluster.
Each predefined role is mapped to Kubernetes ClusterRoles. When users authenticate to the cluster with their NVIDIA Run:ai identity, they receive the permissions of these ClusterRoles when they use kubectl. To see what each role grants in Kubernetes, see Role to ClusterRole Mapping.
Retrieve Required OIDC Flags
Go to General settings
Navigate to Cluster authentication
containers:
- command:
...
- --oidc-client-id=runai
- --oidc-issuer-url=https://<HOST>/auth/realms/runai
- --oidc-username-prefix=---oidc-client-id- A client id that all tokens must be issued for.--oidc-issuer-url- The URL of the NVIDIA Run:ai identity provider--oidc-username-prefix- Prefix prepended to username claims to prevent clashes with existing names (e.g.,-user@example.com).
Kubernetes Distribution-Specific Configuration
Last updated