open-nomad/e2e/metrics/input/fabio.nomad

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

35 lines
504 B
Plaintext
Raw Normal View History

2019-03-08 17:56:02 +00:00
job "fabio" {
datacenters = ["dc1", "dc2"]
2019-10-11 12:00:05 +00:00
type = "system"
2019-03-08 17:56:02 +00:00
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
2019-03-08 17:56:02 +00:00
group "fabio" {
network {
port "lb" {
static = 9999
}
port "ui" {
static = 9998
}
}
2019-03-08 17:56:02 +00:00
task "fabio" {
driver = "docker"
2019-10-11 12:00:05 +00:00
2019-03-08 17:56:02 +00:00
config {
2019-10-11 12:00:05 +00:00
image = "fabiolb/fabio"
2019-03-08 17:56:02 +00:00
network_mode = "host"
}
resources {
cpu = 100
memory = 64
}
}
}
}