-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support traefik.backend
for ECS
#3510
Conversation
traefik.backend
Using the
|
traefik.backend
traefik.backend
for ECS
Use BackendName label to allow different backend versions to exist without creating a new Backend for each service.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this PR do?
Uses the Traefik
traefik.backend
to allow two different versions of the same ECS service to exist without Traefik creating a separate frontend and backend for each. This makes canary deployments with ECS possible with Traefik, as two different versions of the same ECS service can be load-balanced between by existing as one Traefik backend and associating with one frontend.Motivation
Canary deployments. Currently canary deployments with ECS and Traefik are not possible because the
traefik.backend
is ignored. If two versions of the same ECS service are created, two Traefik backends and frontends are created. This fix allows the use of thetraefik.backend
to indicate that two services belong to the same backend.More
Additional Notes
Related issue: #1164