Skip to content

Instantly share code, notes, and snippets.

@jakubhajek
Created March 16, 2020 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jakubhajek/853848d61fddd5c9e552fd96ebae8fb3 to your computer and use it in GitHub Desktop.
Save jakubhajek/853848d61fddd5c9e552fd96ebae8fb3 to your computer and use it in GitHub Desktop.
The canary deployment approach using Traefik - the definition of weighted service
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