Hi,
We have a two-container application (c1, c2) in pod A that communicates with service pod B. In addition, c1 connects to c2 port 5530 inside pod A.
We setup service mesh with envoy proxy for pod A and B to secure service communication.
When c1 tries to connect to c2, we observed that envoy sidecar in pod A is connecting to c2 port 5530. We think this is because the port 5530 is set up as a service port on pod A so envoy automatically picked up the inbound ports. We tried to use annotation to exclude inbound port 5530 and set transparent-proxy to false but that didn’t help.
Question:
Is the current consul architecture not able to support a two-container pod as we have here?
I’d appreciate any feedback!
Thanks.