Skip to content

Commit

Permalink
Add dcgm-exporter daemonset
Browse files Browse the repository at this point in the history
Signed-off-by: Renaud Gaubert <[email protected]>
  • Loading branch information
Renaud Gaubert committed Apr 20, 2020
1 parent f2fa9cd commit 081839e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions daemonset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: gpu-metrics-exporter
labels:
app.kubernetes.io/name: dcgm-exporter
app.kubernetes.io/version: "2.0.0-rc.0"
spec:
template:
metadata:
labels:
app.kubernetes.io/name: dcgm-exporter
app.kubernetes.io/version: "2.0.0-rc.0"
name: dcgm-exporter
spec:
containers:
- image: nvidia/dcgm-exporter:2.0.0-rc.0
name: dcgm-exporter
ports:
- name: gpu-metrics
containerPort: 8080
securityContext:
runAsNonRoot: false
runAsUser: 0
volumeMounts:
- name: pod-gpu-resources
readOnly: true
mountPath: /var/lib/kubelet/pod-resources
volumes:
- name: pod-gpu-resources
hostPath:
path: /var/lib/kubelet/pod-resources

0 comments on commit 081839e

Please sign in to comment.