NGINX load balancer and deployments -
my website depends on server affinity. setup has 2 nodes (a , b) serving client request.
just before deployment want nginx load balancer stop sending new requests node b request have affinity node b should send node b.
is possible nginx?
like @mikhailov told me in comments, current requests finished, although server removed configuration. here tactics:
- remove server (which under deployment) configuration
- reload nginx configuration
when deployment has finished:
- add server configuration again
- reload nginx configuration
Comments
Post a Comment