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. These flags instruct Kubernetes to validate credentials using NVIDIA Run:ai's identity provider.
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.,[email protected]
).
Kubernetes Distribution-Specific Configuration
Last updated