Skip to content

Commit

Permalink
docs: enabled option for nvidia device plugin (#8480)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmood Ali authored Jul 21, 2020
1 parent 60dd7ae commit 9f01422
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ SECURITY:

* build: Updated to Go 1.14.6. Go 1.14.5 contained 2 CVEs which are low severity for Nomad [[GH-8467](https://github.com/hashicorp/nomad/issues/8467)]

IMPROVEMENTS:

* device/nvidia: Added a plugin config option to disable the plugin [[GH-8353](https://github.com/hashicorp/nomad/issues/8353)]

BUG FIXES:

* core: Fixed an atomicity bug where a job may fail to start if leadership transition occured while processing the job [[GH-8435](https://github.com/hashicorp/nomad/issues/8435)]
Expand Down
5 changes: 4 additions & 1 deletion website/pages/docs/devices/nvidia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ the installation instructions for
```hcl
plugin "nvidia-gpu" {
config {
ignored_gpu_ids = ["GPU-fef8089b", "GPU-ac81e44d"]
enabled = true
ignored_gpu_ids = ["GPU-fef8089b", "GPU-ac81e44d"]
fingerprint_period = "1m"
}
}
Expand All @@ -119,6 +120,8 @@ plugin "nvidia-gpu" {
The `nvidia-gpu` device plugin supports the following configuration in the agent
config:

- `enabled` `(bool: true)` - Control whether the plugin should be enabled and running.

- `ignored_gpu_ids` `(array<string>: [])` - Specifies the set of GPU UUIDs that
should be ignored when fingerprinting.

Expand Down

0 comments on commit 9f01422

Please sign in to comment.