Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparent proxy for the service that is outside of service mesh via Terminating gateway #11091

Closed
Shige99011 opened this issue Jul 12, 2021 · 3 comments
Labels
theme/envoy/xds Related to Envoy support theme/terminating-gw Track terminating gateway work

Comments

@Shige99011
Copy link

Hi, I'm using Transparent Proxy (that's really good feature!) with the latest consul helm chart (0.32.1).

This is just a quick question.
Is it possible to access like Transparent proxy to an external service that is running outside of the service mesh via terminating gateway?
Currently it needs the upstream annotation with the service name and port like 'consul.hashicorp.com/connect-service-upstreams': 'external-service:9001'
Then a service in the service mesh accesses to the external service by using local host address and the port like "http://127.0.0.1:9001/external-service".

Thanks for your help.

@t-eckert t-eckert changed the title Transparent proxy for the service that is outside of service mesh via Terminating gateway helm:Transparent proxy for the service that is outside of service mesh via Terminating gateway Aug 24, 2021
@t-eckert t-eckert transferred this issue from hashicorp/consul-helm Aug 24, 2021
@david-yu
Copy link
Contributor

Hi @Shige99011 this looks like a Consul Core feature request for Terminating GWs so I'll transfer this over to the hashicorp/consul.

@david-yu david-yu transferred this issue from hashicorp/consul-k8s Sep 20, 2021
@david-yu david-yu changed the title helm:Transparent proxy for the service that is outside of service mesh via Terminating gateway Transparent proxy for the service that is outside of service mesh via Terminating gateway Sep 20, 2021
@blake blake added theme/envoy/xds Related to Envoy support theme/terminating-gw Track terminating gateway work labels Dec 21, 2021
@blake
Copy link
Member

blake commented Jan 14, 2022

Hi @Shige99011, this now supported as of Consul 1.11.2.

IMPROVEMENTS:

After you associate the external service with the terminating gateway, apps in your mesh can reach it via transparent proxy by connecting to the IP address returned from the virtual IP service lookup for the service (e.g., external-service.virtual.consul).

@blake blake closed this as completed Jan 14, 2022
@Shige99011
Copy link
Author

Thanks for the notification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/envoy/xds Related to Envoy support theme/terminating-gw Track terminating gateway work
Projects
None yet
Development

No branches or pull requests

3 participants