fix(deploy): use provider=nomad to avoid Consul version constraint on int node
All checks were successful
Build and Deploy MoneyMaker / build-and-deploy (push) Successful in 15m33s
All checks were successful
Build and Deploy MoneyMaker / build-and-deploy (push) Successful in 15m33s
provider=consul auto-injects attr.consul.version >= 1.8.0 constraint which filters out int (old Consul). provider=nomad uses native Nomad service discovery — Traefik still picks up tags via Nomad catalog.
This commit is contained in:
@@ -36,7 +36,7 @@ job "moneymaker" {
|
||||
}
|
||||
|
||||
service {
|
||||
provider = "consul"
|
||||
provider = "nomad"
|
||||
name = "moneymaker"
|
||||
port = "http"
|
||||
|
||||
@@ -46,10 +46,6 @@ job "moneymaker" {
|
||||
"traefik.http.routers.moneymaker.tls=true",
|
||||
]
|
||||
|
||||
canary_tags = [
|
||||
"traefik.enable=false",
|
||||
]
|
||||
|
||||
check {
|
||||
name = "http_health_check"
|
||||
type = "http"
|
||||
|
||||
Reference in New Issue
Block a user