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

do we have cookie based routing for httpproxy? #6510

Open
chatwithruben opened this issue Jun 13, 2024 · 3 comments
Open

do we have cookie based routing for httpproxy? #6510

chatwithruben opened this issue Jun 13, 2024 · 3 comments
Labels
kind/question Categorizes an issue as a user question. lifecycle/needs-triage Indicates that an issue needs to be triaged by a project contributor.

Comments

@chatwithruben
Copy link

What question do you have?:
i have a use case where httpproxy should validate the cookie contents and route to particular service accordinly.

cookie name is "cookie"
inside cookie we have something like X-Service-version-v12 also in some cookies it might be X-Service-version-v13

so what we wanted is our httpproxy should be capable of reading for the cookie and route to particular service accordingly.

@chatwithruben chatwithruben added kind/question Categorizes an issue as a user question. lifecycle/needs-triage Indicates that an issue needs to be triaged by a project contributor. labels Jun 13, 2024
Copy link

Hey @chatwithruben! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Contour. You can also join us on our mailing list and in our channel in the Kubernetes Slack Workspace

@sunjayBhatia
Copy link
Member

Contour does not have cookie based request matching at this time, but we do support cookie based load balancing/session affinity to enable you to maintain a stateful session to an individual app instance, see the RequestHash or Cookie load balancing strategies documented here: https://projectcontour.io/docs/1.29/config/request-routing/#load-balancing-strategy

@chatwithruben
Copy link
Author

@sunjayBhatia Can we consider this as a a good use case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Categorizes an issue as a user question. lifecycle/needs-triage Indicates that an issue needs to be triaged by a project contributor.
Projects
None yet
Development

No branches or pull requests

2 participants