From 818a20fa58d719b3131336cb4c6262edbdc3f244 Mon Sep 17 00:00:00 2001 From: Indresh2410 Date: Fri, 25 Oct 2024 20:46:44 +0530 Subject: [PATCH] Fix securityContext in static yaml (#403) Signed-off-by: Indresh Prakash --- dcgm-exporter.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dcgm-exporter.yaml b/dcgm-exporter.yaml index 89407c51..0e9a7c39 100644 --- a/dcgm-exporter.yaml +++ b/dcgm-exporter.yaml @@ -47,6 +47,8 @@ spec: securityContext: runAsNonRoot: false runAsUser: 0 + capabilities: + add: ["SYS_ADMIN"] volumeMounts: - name: "pod-gpu-resources" readOnly: true