Hi, we have a working 2.2.x rancher setup on local hardware, serving several web applications.
The cluster has the standard nginx-ingress configured via
Edit cluster -> Advanced Options -> Nginx Ingress -> enabled.
Just to recap how I understood things work: there is one
running the container
on (any) one of the worker nodes. Initially this could be 10.0.X.Y
Since the K8S cluster does not have a public IP, we use an Apache httpd
RewriteRules to pass all traffic for mywebapp to 10.0.X.Y.
The mywebapp.yaml now has a host rule: mywebapp.10.0.X.Y.nip.io
backend: serviceName: mywebapp-service.
My issue is that if default-http-backend dies, it can be re-started on
any other worker node like 10.0.X.Z, and both the apache RewriteRule
and the mywebapp.10.0.X.Y.nip.io would use the wrong IP address.
=> Am I using the wrong approach here ? Could someone point me
to best-practices for this scenario ?
Thanks in advance, yours, Steffem