Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect GPU usage metrics with prometheus #5296

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions helm-charts/support/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,9 @@ dependencies:
version: "0.0.1-0.dev.git.72.hadbe1d4"
repository: https://2i2c.org/gcp-filestore-backups
condition: gcpFilestoreBackups.enabled

# Provide metrics about GPU usage
# https://github.com/NVIDIA/dcgm-exporter
- name: dcgm-exporter
version: 3.6.1
repository: https://nvidia.github.io/dcgm-exporter/helm-charts
3 changes: 3 additions & 0 deletions helm-charts/support/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ properties:
global:
type: object
additionalProperties: true
dcgm-exporter:
type: object
additionalProperties: true

# These provide values for objects we create, so we validate their schema
# to the best of our ability.
Expand Down
13 changes: 13 additions & 0 deletions helm-charts/support/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,19 @@ cryptnono:
aws-ce-grafana-backend:
enabled: false

dcgm-exporter:
serviceMonitor:
enabled: false
podAnnotations:
prometheus.io/path: "/metrics"
prometheus.io/port: "12121"
prometheus.io/scrape: "true"
tolerations:
- key: nvidia.com/gpu
operator: Equal
value: present
effect: NoSchedule

# Configuration of templates provided directly by this chart
# -------------------------------------------------------------------------------
#
Expand Down
Loading