You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GPUCluster accepts spec.daemonsets.podSecurityContext, but does not propagate it to the Pod specs of its DRA driver, DCGM, DCGM exporter, or validator DaemonSets.
The configured context appears under spec.template.spec.securityContext in the managed DaemonSets, while preserving required container-level settings such as privileged: true and explicit runAsUser values.
Actual behavior
All four GPUCluster DaemonSet templates omit the pod security context. The configuration is accepted but silently has no effect. The equivalent configuration is honored through ClusterPolicy.
Verification
Verified against main at 9339140ceff2b60ca6f2c8e56d15d253044c30f4:
Rendering each of the four GPUCluster DaemonSets drops the supplied context.
A ClusterPolicy control preserves it.
Rendering the upstream DRA driver v0.5.1 chart preserves the supplied context.
Runtime impact depends on the cluster’s security configuration; these checks establish the configuration omission.
Related implementations
GPU Operator added pod security context support for ClusterPolicy DaemonSets and NVIDIADriver in PR #2120. Later, PR #2703 fixed forwarding daemonsets.podSecurityContext from Helm values into ClusterPolicy.
Upstream DRA driver v0.5.1 also supports this configuration:
Render the common pod security context into the four GPUCluster DaemonSets and add regression coverage confirming that pod settings and required container-level security settings are both preserved.
hi @rahulait, i'd like to take this one. plan: forward daemonsets.podSecurityContext onto the dra driver, dcgm, dcgm exporter and validator pod specs, keep the required container level privileged / runAsUser settings, and add render tests with clusterpolicy as the control. could you add accepted and assign it to me? happy to follow up on #2843 here.
Activity
dundysm commentedon Nov 10, 2026
hi @rahulait, i'd like to take this one. plan: forward
daemonsets.podSecurityContextonto the dra driver, dcgm, dcgm exporter and validator pod specs, keep the required container levelprivileged/runAsUsersettings, and add render tests with clusterpolicy as the control. could you addacceptedand assign it to me? happy to follow up on #2843 here.rahulait commentedon Nov 10, 2026
@dundysm sure, sounds good to me.
Apply daemonsets.podSecurityContext to GPUCluster DaemonSets