flagger icon indicating copy to clipboard operation
flagger copied to clipboard

Blue/Green Mirroring (traffic shadowing) on linkerd

Open shiwenmichael opened this issue 5 years ago • 3 comments

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?

shiwenmichael avatar Jun 22 '20 23:06 shiwenmichael

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

stefanprodan avatar Jun 23 '20 07:06 stefanprodan

Hi guys, any update whether Linkerd now supports this features

ezemegwara avatar Nov 29 '21 13:11 ezemegwara