Created
March 16, 2020 12:23
-
-
Save jakubhajek/853848d61fddd5c9e552fd96ebae8fb3 to your computer and use it in GitHub Desktop.
The canary deployment approach using Traefik - the definition of weighted service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http: | |
services: | |
canary: | |
weighted: | |
services: | |
# Load balancing between Traefik services | |
- name: app1_svc@docker | |
weight: 1 | |
- name: app2_svc@docker | |
weight: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment