github.com/smithx10/nomad@v0.9.1-rc1/e2e/metrics/input/memstress.nomad (about) 1 job "memstress" { 2 datacenters = ["dc1", "dc2"] 3 type = "batch" 4 group "memstress" { 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 "memstress" { 16 driver = "docker" 17 18 config { 19 image = "progrium/stress" 20 args = [ 21 "-m", "2", 22 "-t", "120" 23 ] 24 25 } 26 resources { 27 cpu = 4096 28 memory = 1024 29 } 30 } 31 } 32 }