File tree Expand file tree Collapse file tree 3 files changed +27
-3
lines changed
deployments/helm/nvidia-dra-driver-gpu Expand file tree Collapse file tree 3 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 5252 {{- toYaml .Values.controller.containers.computeDomain.securityContext | nindent 10 }}
5353 image : {{ include "nvidia-dra-driver-gpu.fullimage" . }}
5454 imagePullPolicy : {{ .Values.image.pullPolicy }}
55- command : ["compute-domain-controller", "-v", "6 "]
55+ command : ["compute-domain-controller", "-v", "{{ .Values.logVerbosity }} "]
5656 resources :
5757 {{- toYaml .Values.controller.containers.computeDomain.resources | nindent 10 }}
5858 env :
Original file line number Diff line number Diff line change 9999 sed -i 's/^ModifyDeviceFiles: 1$/ModifyDeviceFiles: 0/' root/gpu-params
100100 mount --bind root/gpu-params /proc/driver/nvidia/params
101101 fi
102- compute-domain-kubelet-plugin -v 6
102+ compute-domain-kubelet-plugin -v {{ .Values.logVerbosity }}
103103 resources :
104104 {{- toYaml .Values.kubeletPlugin.containers.computeDomains.resources | nindent 10 }}
105105 {{/*
@@ -181,7 +181,7 @@ spec:
181181 sed -i 's/^ModifyDeviceFiles: 1$/ModifyDeviceFiles: 0/' root/gpu-params
182182 mount --bind root/gpu-params /proc/driver/nvidia/params
183183 fi
184- gpu-kubelet-plugin -v 6
184+ gpu-kubelet-plugin -v {{ .Values.logVerbosity }}
185185 resources :
186186 {{- toYaml .Values.kubeletPlugin.containers.gpus.resources | nindent 10 }}
187187 {{/*
Original file line number Diff line number Diff line change @@ -69,6 +69,30 @@ resources:
6969# LoggingBetaOptions: true # Kubernetes logging beta features
7070featureGates : {}
7171
72+ # klog verbosity for all components. Zero or greater. Higher number: higher
73+ # verbosity. Warning and error log messages are always logged (regardless of
74+ # this setting). Info-level messages on level 0 and are also always logged (this
75+ # cannot be prevented).
76+ #
77+ # Level 0:
78+ # - Configuration (startup)
79+ # - Permanent error upon (un)preparing device
80+ #
81+ # Level 1 (default):
82+ # - Device (un)prepare confirmation with claim UID
83+ # - Workqueue reconciliation failures (noisy: mainly expected, retryable errors)
84+ # - Controller: cleanup of stale objects
85+ #
86+ # Level 2:
87+ # - Unprepare noop
88+ # - Controller: added/updated object callback confirmation
89+ #
90+ # Level 6 and higher:
91+ # - Checkpoint file updates
92+ # - Kubelet plugin GRPC request/response detail
93+ #
94+ logVerbosity : " 1"
95+
7296# Webhook configuration
7397webhook :
7498 enabled : false
You can’t perform that action at this time.
0 commit comments