open-nomad/e2e/metrics/input/diskstress.nomad

34 lines
484 B
Plaintext
Raw Normal View History

job "diskstress" {
datacenters = ["dc1", "dc2"]
2019-10-11 12:00:05 +00:00
type = "batch"
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "diskstress" {
count = 1
2019-10-11 12:00:05 +00:00
task "diskstress" {
driver = "docker"
config {
image = "progrium/stress"
2019-10-11 12:00:05 +00:00
args = [
"--hdd",
2019-10-11 12:00:05 +00:00
"2",
"--timeout",
2019-10-11 12:00:05 +00:00
"30",
]
}
2019-10-11 12:00:05 +00:00
resources {
cpu = 1024
memory = 256
}
}
}
2019-10-11 12:00:05 +00:00
}