Good afternoon, query at the fallback level, we have 2 deployments with the same service in the same namespace, 1 productive and the other we want to be a slave, products like haproxy support backup connections example of the config:
listen my-server 0.0.0.0:80
balance round robin
server web01 10.10.10.1:80 check inter 10s fall 3 rise 99999999
server web02 10.10.10.2:80 check backup
We want to see if there is a way to perform this type of configuration (fallback) in istio, we want the slave application to find replica 1 but without traffic and if for some reason the productive one goes down, it will switch to the slave automatically, when the productive point all traffic back to productive. The tests that we have carried out if or if the requests are sent to the 2 pods and we want something active-passive.