github.com/smithx10/nomad@v0.9.1-rc1/e2e/metrics/input/cpustress.nomad (about) 1 job "cpustress" { 2 datacenters = ["dc1", "dc2"] 3 type = "batch" 4 group "cpustress" { 5 count = 1 6 restart { 7 mode = "fail" 8 attempts = 0 9 } 10 reschedule { 11 attempts = 3 12 interval = "10m" 13 unlimited = false 14 } 15 task "cpustress" { 16 driver = "docker" 17 18 config { 19 image = "progrium/stress" 20 args = [ 21 "-c", "4", 22 "-t", "600" 23 ] 24 25 } 26 27 resources { 28 cpu = 4096 29 memory = 256 30 } 31 } 32 } 33 }