Skip to content

Commit

Permalink
fix: Traefik does not handle failover (close #167)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Nouguier committed Sep 15, 2020
1 parent 185bfd3 commit 3e3a60c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ services:
deploy:
replicas: ${TRAEFIK_REPLICAS}
placement:
preferences:
- spread: node.labels.traefik
constraints:
- node.role == manager
labels:
- "traefik.backend=traefik"
- "traefik.enable=true"
Expand Down

0 comments on commit 3e3a60c

Please sign in to comment.