Add update_config/rollback_config rolling deploy to all traefik services (start-first, parallelism=1)
ci/woodpecker/push/woodpecker Pipeline was canceled
ci/woodpecker/push/woodpecker Pipeline was canceled
This commit is contained in:
@@ -20,6 +20,16 @@ services:
|
||||
labels: [traefik.enable=false]
|
||||
resources:
|
||||
limits: {cpus: '1', memory: 128M}
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 30s
|
||||
failure_action: rollback
|
||||
monitor: 15s
|
||||
order: start-first
|
||||
rollback_config:
|
||||
parallelism: 1
|
||||
failure_action: pause
|
||||
order: start-first
|
||||
|
||||
keepalived-backup:
|
||||
environment:
|
||||
@@ -41,6 +51,16 @@ services:
|
||||
labels: [traefik.enable=false]
|
||||
resources:
|
||||
limits: {cpus: '1', memory: 128M}
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 30s
|
||||
failure_action: rollback
|
||||
monitor: 15s
|
||||
order: start-first
|
||||
rollback_config:
|
||||
parallelism: 1
|
||||
failure_action: pause
|
||||
order: start-first
|
||||
|
||||
reverse-proxy:
|
||||
image: public.ecr.aws/docker/library/traefik:latest
|
||||
@@ -108,6 +128,16 @@ services:
|
||||
- traefik.http.routers.traefik.middlewares=forwardAuth-authentik@file, crowdsec@file
|
||||
resources:
|
||||
limits: {cpus: '4', memory: 512M}
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 30s
|
||||
failure_action: rollback
|
||||
monitor: 15s
|
||||
order: start-first
|
||||
rollback_config:
|
||||
parallelism: 1
|
||||
failure_action: pause
|
||||
order: start-first
|
||||
|
||||
traefik-certs-dumper:
|
||||
image: ghcr.io/ldez/traefik-certs-dumper:v2.10.0
|
||||
@@ -119,6 +149,16 @@ services:
|
||||
labels: [traefik.enable=false]
|
||||
resources:
|
||||
limits: {cpus: '1', memory: 64M}
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 30s
|
||||
failure_action: rollback
|
||||
monitor: 15s
|
||||
order: start-first
|
||||
rollback_config:
|
||||
parallelism: 1
|
||||
failure_action: pause
|
||||
order: start-first
|
||||
|
||||
speedtest:
|
||||
image: openspeedtest/latest
|
||||
@@ -142,6 +182,16 @@ services:
|
||||
- autoheal=true
|
||||
resources:
|
||||
limits: {cpus: '8', memory: 1G}
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 30s
|
||||
failure_action: rollback
|
||||
monitor: 15s
|
||||
order: start-first
|
||||
rollback_config:
|
||||
parallelism: 1
|
||||
failure_action: pause
|
||||
order: start-first
|
||||
|
||||
iperf3-server:
|
||||
image: networkstatic/iperf3:latest
|
||||
@@ -164,6 +214,16 @@ services:
|
||||
- autoheal=true
|
||||
resources:
|
||||
limits: {cpus: '4', memory: 128M}
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 30s
|
||||
failure_action: rollback
|
||||
monitor: 15s
|
||||
order: start-first
|
||||
rollback_config:
|
||||
parallelism: 1
|
||||
failure_action: pause
|
||||
order: start-first
|
||||
|
||||
whoami:
|
||||
image: emilevauge/whoami
|
||||
@@ -181,6 +241,16 @@ services:
|
||||
- traefik.http.routers.whoami.middlewares=crowdsec@file, forwardAuth-authentik@file
|
||||
resources:
|
||||
limits: {cpus: '1', memory: 16M}
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 30s
|
||||
failure_action: rollback
|
||||
monitor: 15s
|
||||
order: start-first
|
||||
rollback_config:
|
||||
parallelism: 1
|
||||
failure_action: pause
|
||||
order: start-first
|
||||
|
||||
networks:
|
||||
traefik_frontend:
|
||||
|
||||
Reference in New Issue
Block a user