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
This configuration file indicates that the service serviceA listens on port 8001, and it needs to access serviceB through the sidecar proxy on port 9001, and access serviceC through the sidecar proxy on port 9003. However, if I have many services, writing the upstreams configuration in each service would be cumbersome. Is there a way to configure a global sidecar proxy ports so that it applies to each service?
I tried to create a file: proxy-defaults.json in consul.d dir(consul config dir):
In the configuration of Consul service mesh sidecar proxies, I have an example (serviceA.json):
This configuration file indicates that the service serviceA listens on port 8001, and it needs to access serviceB through the sidecar proxy on port 9001, and access serviceC through the sidecar proxy on port 9003. However, if I have many services, writing the upstreams configuration in each service would be cumbersome. Is there a way to configure a global sidecar proxy ports so that it applies to each service?
I tried to create a file: proxy-defaults.json in consul.d dir(consul config dir):
But I still can't request serviceC through sidecar port in serviceA, what can I do next?
The text was updated successfully, but these errors were encountered: