github.com/hernad/nomad@v1.6.112/e2e/operator_scheduler/input/basic.nomad (about) 1 # Copyright (c) HashiCorp, Inc. 2 # SPDX-License-Identifier: MPL-2.0 3 4 job "operator_scheduler" { 5 datacenters = ["dc1"] 6 type = "batch" 7 8 constraint { 9 attribute = "${attr.kernel.name}" 10 value = "linux" 11 } 12 13 group "operator_scheduler" { 14 15 task "test" { 16 driver = "raw_exec" 17 18 config { 19 command = "bash" 20 args = ["-c", "sleep 30"] 21 } 22 } 23 } 24 }