Possibility to do Canary rollouts with NGINX and to have stickiness on service level? #4207
Unanswered
florinciubotariu
asked this question in
Q&A
Replies: 1 comment
-
Check if nginx supports the Gateway api and header based routing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
Is this scenario possible?
I am having a stable rollout live consisting of 5 pods of an app under the same service (app-stable).
I want to do a canary release, I spin up lets say 5 pods of the canary under the app-canary service.
Now, if an user hits one of the canary pods, I want a cookie to be returned to him and the subsequent requests will always be routed to the app-canary service (and can hit any of those 5 pods).
Is this scenario possible?
It feels to me that it is not possible to:
Thanks!
The following annotations on the stable ingress are partially working in my use case but it enables stickiness on pod level on both stable / canary which I do not want.
The only annotation I have on the canary ingress is
canary-by-cookie: "routing-preference"
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions