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

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -