Skip to content

Instantly share code, notes, and snippets.

@zelfick
Forked from jakubhajek/canary.yml
Created May 13, 2020 17:06
Show Gist options
  • Save zelfick/cfce89ddd537322a74b8d86b8af82a52 to your computer and use it in GitHub Desktop.
Save zelfick/cfce89ddd537322a74b8d86b8af82a52 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