open-nomad/jobspec/test-fixtures/multi-network.hcl

27 lines
497 B
HCL
Raw Normal View History

2015-09-15 01:30:26 +00:00
job "binstore-storagelocker" {
2019-07-20 14:55:07 +00:00
group "binsl" {
count = 5
2015-09-15 01:30:26 +00:00
2019-07-20 14:55:07 +00:00
task "binstore" {
driver = "docker"
2015-09-15 01:30:26 +00:00
2019-07-20 14:55:07 +00:00
resources {
cpu = 500
memory = 128
2015-09-15 01:30:26 +00:00
2019-07-20 14:55:07 +00:00
network {
mbits = "100"
reserved_ports = [1, 2, 3]
dynamic_ports = ["HTTP", "HTTPS", "ADMIN"]
2015-09-15 01:30:26 +00:00
}
2019-07-20 14:55:07 +00:00
network {
mbits = "128"
reserved_ports = [1, 2, 3]
dynamic_ports = ["HTTP", "HTTPS", "ADMIN"]
}
}
2015-09-15 01:30:26 +00:00
}
2019-07-20 14:55:07 +00:00
}
2015-09-15 01:30:26 +00:00
}