-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add dockerRunOptions setting Signed-off-by: Jacob Tomlinson <[email protected]> * Add missing args Signed-off-by: Jacob Tomlinson <[email protected]> --------- Signed-off-by: Jacob Tomlinson <[email protected]>
- Loading branch information
1 parent
c473896
commit 8f14a3e
Showing
7 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: container-canary.nvidia.com/v1 | ||
kind: Validator | ||
name: gpu | ||
description: A GPU example to show you can pass extra flags to Docker | ||
command: | ||
- "sleep" | ||
- "30" | ||
dockerRunOptions: | ||
- "--gpus" | ||
- "all" | ||
checks: | ||
- name: nvidia-smi | ||
description: 📦 Can run nvidia-smi | ||
probe: | ||
exec: | ||
command: | ||
- /usr/bin/nvidia-smi | ||
initialDelaySeconds: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters