Implement different traffic distribution policies based on the header#1255
Implement different traffic distribution policies based on the header#1255hkk1010 wants to merge 3 commits intofluxcd:mainfrom
Conversation
Signed-off-by: Henry <kuahe@cisco.com>
Signed-off-by: snake_root <hkk1010@users.noreply.github.com> Signed-off-by: Henry <kuahe@cisco.com>
Signed-off-by: Henry <kuahe@cisco.com>
|
Hi @hkk1010, thanks for this PR. This PR seems to try and address #1198, which will require some prior planning and discussion. We do want to add support for this, but this PR doesn't seem to solve it fully. I'm currently working on a PoC for this, and will open a PR soon. Meanwhile, if you want to discuss about this issue more, feel free to do so in the flagger channel in CNCF slack. |
|
Hi @aryan9600 ,thanks for your reply.Do you have a specific schedule to add this feature.A month or two?We hope to have this feature soon,thanks |
|
@aryan9600 |
|
@aryan9600 We really would like this feature as described here. I don't fully see the overlap. An example use case would be to ensure internal developers (or all on-site employees) always hit the canary if there is one, and use the primary by default. |
|
@chlunde maybe i'm misunderstanding the use case for this change, so let me dump my understanding here. |
|
@aryan9600 Sorry, I think I'm the one misunderstanding here, based on the drawing it looked like what I wanted, but I think this implementation is something entirely different. Sorry for the noise. |
Hi,there:

During canary deployment I want to add a policy of traffic forwarding based on header, that is access with header only to canary instance and others to primary and canary as follows.
So I added a flag (trafficType) in the CRD to identify the traffic distribution policy. and update istio.go.
This is a requirement of our business and I think there are many other users who also want to use this traffic forwarding strategy(#840). Can you add this function to it. Thank you very much
Signed-off-by: Henry He kuahe@cisco.com