Hi,
I have three instances of rancher nodes with ingress. In front of this I have also bare metal reverse proxy with NGINX.
Three instances of rancher have IPs:
172.20.58.1
172.20.58.2
172.20.58.3
When user is connecting to my site, request is going to my bare metal nginx, then in config:
upstream xxx {
server 172.20.58.1;
server 172.20.58.2;
server 172.20.58.3:;
}
Everything is fine, but when I make “redeploy” users got 502 bad gateway. I have to wait till redeploy is done and then everything is fine.
How to make it zero-downtime? Can I assign ingress an IP and set this IP in my external reverse proxy? I understand for now, in this setup my external nginx is connecting directly to nodes. I got no idea how to connect it properly and why and for what I need this ingress
Greetings