github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/e2e/operator_scheduler/input/basic.nomad (about)

     1  job "operator_scheduler" {
     2    datacenters = ["dc1"]
     3    type        = "batch"
     4  
     5    constraint {
     6      attribute = "${attr.kernel.name}"
     7      value     = "linux"
     8    }
     9  
    10    group "operator_scheduler" {
    11  
    12      task "test" {
    13        driver = "raw_exec"
    14  
    15        config {
    16          command = "bash"
    17          args    = ["-c", "sleep 1"]
    18        }
    19      }
    20    }
    21  }