Update traefik to v3 using canary
This commit is contained in:
parent
bdfde48bec
commit
205388f283
@ -14,9 +14,11 @@ job "traefik" {
|
|||||||
|
|
||||||
update {
|
update {
|
||||||
max_parallel = 1
|
max_parallel = 1
|
||||||
# canary = 1
|
canary = 1
|
||||||
# auto_promote = true
|
auto_promote = false
|
||||||
auto_revert = true
|
auto_revert = true
|
||||||
|
min_healthy_time = "30s"
|
||||||
|
healthy_deadline = "5m"
|
||||||
}
|
}
|
||||||
|
|
||||||
group "traefik" {
|
group "traefik" {
|
||||||
@ -88,7 +90,7 @@ job "traefik" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "traefik:2.10"
|
image = "traefik:3.0"
|
||||||
|
|
||||||
ports = ["web", "websecure", "syslog", "gitssh", "metrics"]
|
ports = ["web", "websecure", "syslog", "gitssh", "metrics"]
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
|
Loading…
Reference in New Issue
Block a user