Remove node_pool and use job_start
This commit is contained in:
parent
a27fffef7c
commit
f4ce962b6c
|
@ -1 +1 @@
|
|||
Subproject commit 0fbb06ca922975ad5ffaf89323824b5b07f40bf1
|
||||
Subproject commit 32a9bacc01c161bd60961fb578675f5c69026537
|
|
@ -1,10 +1,6 @@
|
|||
job "egress-gateway" {
|
||||
datacenters = [[ .nomad.datacenters | toJSON ]]
|
||||
|
||||
# Egress GW runs on ddedicated, unrestricted nodes
|
||||
[[- if has .egress_gw "node_pool" ]]
|
||||
node_pool = [[ .egress_gw.node_pool | toJSON ]]
|
||||
[[- end ]]
|
||||
[[ template "common/job_start.tpl" . ]]
|
||||
|
||||
group "egress-gateway" {
|
||||
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
|
||||
egress_gw:
|
||||
# Nomad node pool to run the gateway on
|
||||
# node_pool: output
|
||||
|
||||
# Number of instances
|
||||
count: 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue