You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
worker2 (192.168.2.21), worker3(192.168.2.22) in cluster2
worker1(192.168.3.20),worker2(192.168.3.21) in cluster3
so the question is is it possible export Kubernetes webapp1 services with their respective worker IP addresses to consul?
HAProxy can then read it from Consul and route traffic to the right backends.
i.e.
backend consul-backend-consul-webapp1 server SRV_wUDs 192.168.2.21:80 check weight128 server SRV_kGr8S 192.168.2.22:80 check weight128 server SRV_LCD2f 192.168.3.20:80 check weight128 server SRV_Hiw5l 192.168.3.21:80 check weight128 server SRV_Wz0jE 127.0.0.1:80 disabled weight128 server SRV_jIkbE 127.0.0.1:80 disabled weight128
The text was updated successfully, but these errors were encountered:
Question
i have following use case/scenario
example
webapp1 is running in 4 replicas
so the question is is it possible export Kubernetes webapp1 services with their respective worker IP addresses to consul?
HAProxy can then read it from Consul and route traffic to the right backends.
i.e.
The text was updated successfully, but these errors were encountered: