Skip to content
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

Feature Request: mirror traffic to two sets of endpoints #2989

Closed
kenyee opened this issue Mar 9, 2018 · 8 comments
Closed

Feature Request: mirror traffic to two sets of endpoints #2989

kenyee opened this issue Mar 9, 2018 · 8 comments

Comments

@kenyee
Copy link

@kenyee kenyee commented Mar 9, 2018

Do you want to request a feature or report a bug?

Feature

What did you expect to see?

Please add a feature to mirror/shadow incoming traffic to two sets of endpoints and be able to configure which amount goes where...e.g., something like this:

https://dzone.com/articles/traffic-shadowing-with-istio-reducing-the-risk-of

@traefiker

This comment was marked as outdated.

Copy link

@traefiker traefiker commented Mar 9, 2018

Hi! I'm Træfiker 🤖 the bot in charge of communication regulation.

Thanks for your interest in Træfik!

Please edit your issue and use the provided template.

Issue templates help us help you by providing all necessary information.

Here are the available templates:

And remember: each time someone ignores the template, a cute little bunny dies.

#SaveTheCuteBunny ❤️ 🐰 ❤️

southpark - estrella kill rabbit

southpark - estrella kill rabbit2

@aantono

This comment has been minimized.

Copy link
Contributor

@aantono aantono commented Mar 15, 2018

@kenyee I’ve actually started working on a PR, but given time constraints not sure I’ll finish before the March 20th cutoff for the 1.6 release, so most likely will be added in 1.7. :(

@kenyee

This comment has been minimized.

Copy link
Author

@kenyee kenyee commented Mar 15, 2018

Cool...thanks @aantono :-)

@jnovack

This comment has been minimized.

Copy link

@jnovack jnovack commented Jul 31, 2018

If we build on the backend system we already have, I suppose it might look like something like this:

...
    --label "traefik.port=80" \
    --label "traefik.frontend.rule=Host:site1.example.org" \
    --label "traefik.enable=true" \
    --label "traefik.backend=backend-nextversion" \
    --label "traefik.mirror.enable=true" \
    --label "traefik.mirror.percentage=10" \
...

In this manner, there's ALREADY a frontend for site1.example.org, it already exists, it's already working.

  • traefik.mirror.enable suggests that Traefik will ignore/drop any responses generated from the mirror.
  • traefik.mirror.percentage is the amount of traffic to mirror, default 100/all.

Attempting to bring up a traefik.mirror.enable on a not-yet-defined traefik.frontend.rule SHOULD NOT ERROR. We may wish to only mirror a subdirectory of a site, or the mirror container may have started first. Thus we might want to at least WARN.

@Lawouach

This comment has been minimized.

Copy link

@Lawouach Lawouach commented Oct 13, 2018

Hello folks,

Just a friendly ping to understand where this feature is standing. Not urgent for me but it would be a nice to have in a near future (I'd rather not switch to something else if I can help it :)).

Thanks for all the great product!

@szareiangm

This comment has been minimized.

Copy link

@szareiangm szareiangm commented Feb 9, 2019

Hello Traefik team! We really need this feature. Is there a chance that this feature would be in the future releases?

@olsw

This comment has been minimized.

Copy link

@olsw olsw commented Mar 22, 2019

Is there any further progress on this? We currently use traefik but need to find a way to shadowing or similar and are starting to look at alternatives. A timeframe would be very useful if this is a WIP. Thank you!

@juliens juliens mentioned this issue Aug 26, 2019
2 of 2 tasks complete
@traefiker traefiker added this to the 2.0 milestone Aug 26, 2019
@traefiker traefiker closed this Aug 26, 2019
@traefiker

This comment has been minimized.

Copy link

@traefiker traefiker commented Aug 26, 2019

Closed by #5251.

@containous containous locked and limited conversation to collaborators Sep 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
9 participants
You can’t perform that action at this time.