github.com/smithx10/nomad@v0.9.1-rc1/e2e/metrics/input/diskstress.nomad (about)

     1  job "diskstress" {
     2    datacenters = ["dc1", "dc2"]
     3    type = "batch"
     4    group "diskstress" {
     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 "diskstress" {
    16        driver = "docker"
    17  
    18        config {
    19          image = "progrium/stress"
    20          args = [
    21            "-d", "2",
    22            "-t", "30"
    23          ]
    24  
    25        }
    26        resources {
    27          cpu    = 4096
    28          memory = 256
    29        }
    30      }
    31    }
    32  }