github.com/uchennaokeke444/nomad@v0.11.8/e2e/nomad09upgrade/rawexec.nomad (about)

     1  job "sleep" {
     2    datacenters = ["dc1"]
     3  
     4    constraint {
     5      attribute = "${attr.kernel.name}"
     6      value     = "linux"
     7    }
     8  
     9    group "sleep" {
    10      task "sleep" {
    11        driver = "raw_exec"
    12  
    13        config {
    14          command = "sleep"
    15          args    = ["10000"]
    16        }
    17  
    18        resources {
    19          cpu    = 100
    20          memory = 32
    21        }
    22      }
    23    }
    24  }