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

changes for support session affinity in istio #1251

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pitiwari
Copy link

@pitiwari pitiwari commented Aug 3, 2022

There were multiple tickets requesting session affinity support for Istio for weighted routes. This change adds a new webhook to support session affinity for istio. Below is the document explaining the design in detail

https://docs.google.com/document/d/1Xn4QiwOHE7Z0MJAFlxmndpeOpxCrXDosVLyz-6oq4uI/edit?usp=sharing

@pitiwari pitiwari force-pushed the session_affinity_webhook branch 2 times, most recently from 30e2c02 to 7d86198 Compare August 3, 2022 22:28
Signed-off-by: Piyush Tiwari <ptiwari@roku.com>
@pitiwari
Copy link
Author

@stefanprodan can u look at this pull request

Signed-off-by: Piyush Tiwari <ptiwari@roku.com>
@ryanjwh
Copy link

ryanjwh commented Aug 17, 2022

Hi @stefanprodan, we'd like to merge this in after significant testing so that we can support the use case of allowing teams to perform canary rollouts while maintaining affinity to a specified cookie (ie, code version hash) so that clients don't bounce back and forth between versions of code during canary & rollout. Can you please review?

@aryan9600
Copy link
Member

Hello @pitiwari @ryanjwh, thank you for raising this PR. Support for session affinity during progressive delivery is planned and will be implemented soon. Having gone through your PR, introducing a new webhook is not the ideal way to do it IMO. This should be done via traffic rules set up using Istio, Contour or whatever you're using. I'm currently working on this and will open a PR soon. If you want to discuss about the idea/approach more, please feel free to do so in the flagger channel in CNCF slack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants