github.com/smithx10/nomad@v0.9.1-rc1/e2e/metrics/input/helloworld.nomad (about) 1 job "hello" { 2 datacenters = ["dc1"] 3 4 update { 5 max_parallel = 1 6 min_healthy_time = "15s" 7 auto_revert = true 8 } 9 10 group "hello" { 11 12 count = 3 13 14 task "hello" { 15 driver = "raw_exec" 16 17 config { 18 command = "local/hello" 19 } 20 21 artifact { 22 source = "https://s3.amazonaws.com/nomad-community-demo/hellov1" 23 destination = "local/hello" 24 mode = "file" 25 } 26 27 resources { 28 cpu = 500 29 memory = 256 30 network { 31 mbits = 10 32 port "web" {} 33 } 34 } 35 36 service { 37 name = "hello" 38 tags = ["urlprefix-hello/"] 39 port = "web" 40 check { 41 name = "alive" 42 type = "http" 43 path = "/" 44 interval = "10s" 45 timeout = "2s" 46 } 47 } 48 } 49 } 50 }