open-nomad/e2e/networking/inputs/basic.nomad
2020-10-14 11:14:09 -04:00

18 lines
299 B
HCL

//e2e:service script=validate.sh
job "networking" {
datacenters = ["dc1"]
group "basic" {
network {
mode = "bridge"
}
task "sleep" {
driver = "docker"
config {
image = "busybox:1"
command = "/bin/sleep"
args = ["5"]
}
}
}
}