Skip to content

Commit

Permalink
Merge pull request #39 from castai/fix/tolerations-in-helm-chart
Browse files Browse the repository at this point in the history
fix: Add tolerations in helm chart.
  • Loading branch information
dariuspie authored Dec 5, 2024
2 parents 872ebe4 + 00342aa commit 73dd387
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/gpu-metrics-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end}}
{{- with .Values.gpuMetricsExporter.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: castai-gpu-metrics-exporter
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/gpu-metrics-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ gpuMetricsExporter:
readOnlyRootFilesystem: true
runAsNonRoot: true
port: 6061
tolerations:
- key: "nvidia.com/gpu"
value: "true"
effect: "NoSchedule"

dcgmExporter:
enabled: true
Expand Down

0 comments on commit 73dd387

Please sign in to comment.