change example job a bit
This commit is contained in:
parent
48dfbbcad9
commit
3ecc68c6a6
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue