Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
When a destination resides in a different partition from the source and mesh gateway mode is set to local or remote, the mesh gateway's service endpoints should be used for the destination cluster instead of the destination's own endpoints.
The results in outgoing requests targeting the appropriate mesh gateway (either local or remote) but sending along the same SNI + ALPN that was previously used. The mesh gateway will then forward the request to the appropriate place based on the SNI+ALPN combination.
Description
When a destination resides in a different partition from the source and mesh gateway mode is set to local or remote, the mesh gateway's service endpoints should be used for the destination cluster instead of the destination's own endpoints.
The results in outgoing requests targeting the appropriate mesh gateway (either local or remote) but sending along the same SNI + ALPN that was previously used. The mesh gateway will then forward the request to the appropriate place based on the SNI+ALPN combination.
Testing & Reproduction steps
Links
PR Checklist