fluxcd / flagger

Progressive delivery Kubernetes operator (Canary, A/B Testing and Blue/Green deployments)
https://docs.flagger.app
Apache License 2.0
4.9k stars 732 forks source link

Blue/Green Mirroring (traffic shadowing) on linkerd #633

Open shiwenmichael opened 4 years ago

shiwenmichael commented 4 years ago

Any plans on having the Blue/Green Mirroring (traffic shadowing) on linkerd support? I only see Istio support from the official page.

Here is what I want to have, please let me know whether this is possible for the existing flagger:

  1. Deploy the primary release (version 1.0) on Blue.
  2. Deploy the canary release (version 1.1) on Green. 2.1 setup the pattern matching on the header of the request. So only this match will go to Green, otherwise go to Blue.
  3. Have the manual gate on Green, until manual approval, the Green will stay traffic shadowing Blue 100%.

I am trying to get this working in canary release, is it possible?

stefanprodan commented 4 years ago

It’s not possible because Linkerd doesn’t support header based routing. Once Linkerd implements SMI TrafficSplit v1alpha3 Flagger could support it. You should open an issue in Linkerd, here is the spec: https://github.com/servicemeshinterface/smi-spec/blob/master/apis/traffic-split/v1alpha3/traffic-split.md

ezemegwara commented 2 years ago

Hi guys, any update whether Linkerd now supports this features

deusxanima commented 2 months ago

Just updating to confirm that this is now possible on Linkerd with dynamic routing support through the HTTPRoute object: https://linkerd.io/2.15/tasks/flagger/#install-flagger