mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 19:35:41 +03:00
change example job a bit
This commit is contained in:
@@ -224,7 +224,15 @@ job "gpu-test" {
|
||||
}
|
||||
|
||||
resources {
|
||||
device "nvidia/gpu/Tesla K80" {}
|
||||
device "nvidia/gpu" {
|
||||
count = 1
|
||||
|
||||
# Add an affinity for a particular model
|
||||
affinity {
|
||||
attribute = "${device.model}"
|
||||
value = "Tesla K80"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user