Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge branch 'fix-yamls' into 'master'
Browse files Browse the repository at this point in the history
Add volumes to YAML files

See merge request dl/container-dev/gpu-feature-discovery!13
  • Loading branch information
jjacobelli committed Apr 29, 2019
2 parents be20298 + ced4a88 commit e2b9c05
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gpu-feature-discovery-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ spec:
containers:
- image: nvidia/gpu-feature-discovery:1.0.0-alpha
name: gpu-feature-discovery
volumeMounts:
- name: output-dir
mountPath: "/etc/kubernetes/node-feature-discovery/features.d"
volumes:
- name: output-dir
hostPath:
path: "/etc/kubernetes/node-feature-discovery/features.d"
7 changes: 7 additions & 0 deletions gpu-feature-discovery-job.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@ spec:
name: gpu-feature-discovery
args:
- "--oneshot"
volumeMounts:
- name: output-dir
mountPath: "/etc/kubernetes/node-feature-discovery/features.d"
volumes:
- name: output-dir
hostPath:
path: "/etc/kubernetes/node-feature-discovery/features.d"
restartPolicy: Never

0 comments on commit e2b9c05

Please sign in to comment.