diff --git a/helm/amd-gpu/templates/deviceplugin-daemonset.yaml b/helm/amd-gpu/templates/deviceplugin-daemonset.yaml index 6196d55ed..4332ac6d5 100644 --- a/helm/amd-gpu/templates/deviceplugin-daemonset.yaml +++ b/helm/amd-gpu/templates/deviceplugin-daemonset.yaml @@ -34,6 +34,10 @@ spec: containers: - name: {{ .Chart.Name }}-dp-cntr image: {{ .Values.dp.image.repository }}:{{ .Values.dp.image.tag | default .Chart.AppVersion }} + command: + {{- toYaml .Values.dp.command | nindent 12 }} + args: + {{- toYaml .Values.dp.args | nindent 12 }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} volumeMounts: diff --git a/helm/amd-gpu/values.yaml b/helm/amd-gpu/values.yaml index 04c49cdb4..f980afb86 100644 --- a/helm/amd-gpu/values.yaml +++ b/helm/amd-gpu/values.yaml @@ -9,6 +9,8 @@ dp: repository: docker.io/rocm/k8s-device-plugin # Overrides the image tag whose default is the chart appVersion. tag: "1.31.0.6" + command: ["./k8s-device-plugin"] + args: ["-logtostderr=true", "-stderrthreshold=INFO", "-v=5"] resources: {} # Set daemonsets updateStrategy for device plugin updateStrategy: