open-nomad/e2e/networking/inputs/basic.nomad

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
392 B
Plaintext
Raw Normal View History

//e2e:service script=validate.sh
job "networking" {
datacenters = ["dc1", "dc2"]
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "basic" {
network {
mode = "bridge"
}
task "sleep" {
driver = "docker"
config {
image = "busybox:1"
command = "/bin/sleep"
args = ["300"]
}
}
}
}