Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature request: Drain based on annotation #4188
Is this a request for help?
What keywords did you search in NGINX Ingress controller issues before filing this one?
I found #2322, which is a similar request, which was closed because
Is this a BUG REPORT or FEATURE REQUEST?
NGINX Ingress controller version:
Kubernetes version (use
I have a scenario similar to the one described in issue #2322. Our application does not have session replication and we need a better way of running version rollouts. We need a way to tell NGINX to not send new sessions to older deployments. I was thinking that we could use an annotation for this on Pod-level, maybe:
... or this one (to not mix this with NGINX Plus' built in functionality):
This would of course only have any effect at all if using sticky sessions, which could be a little confusing.
Looking around in the code, I assume that this functionality would take place somewhere in the
Thoughts? Ideas? I could try and see if I can develop the changes myself, but I need to know if it's something that is actually wanted and if it's the right approach.