open-nomad/e2e/metrics/input/diskstress.nomad
2019-04-01 22:28:18 -05:00

32 lines
508 B
HCL

job "diskstress" {
datacenters = ["dc1", "dc2"]
type = "batch"
group "diskstress" {
count = 1
restart {
mode = "fail"
attempts = 0
}
reschedule {
attempts = 3
interval = "10m"
unlimited = false
}
task "diskstress" {
driver = "docker"
config {
image = "progrium/stress"
args = [
"-d", "2",
"-t", "30"
]
}
resources {
cpu = 4096
memory = 256
}
}
}
}