github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/e2e/disconnectedclients/input/lost_simple.nomad (about) 1 job "lost_simple" { 2 3 datacenters = ["dc1", "dc2"] 4 5 group "group" { 6 7 count = 2 8 9 constraint { 10 attribute = "${attr.kernel.name}" 11 value = "linux" 12 } 13 14 constraint { 15 operator = "distinct_hosts" 16 value = "true" 17 } 18 19 task "task" { 20 driver = "docker" 21 22 config { 23 image = "busybox:1" 24 command = "httpd" 25 args = ["-v", "-f", "-p", "8001", "-h", "/var/www"] 26 } 27 28 resources { 29 cpu = 128 30 memory = 128 31 } 32 } 33 } 34 }