Open cbarbara-okta opened 5 years ago
Hey there, We wanted to check in on this request since it has been inactive for at least 60 days. If you think this is still an important issue in the latest version of Consul or its documentation please reply with a comment here which will cause it to stay open for investigation. If there is still no activity on this issue for 30 more days, we will go ahead and close it.
Feel free to check out the community forum as well! Thank you!
not stale, still looking for a reply from the consul connect team here.
Feature Description
We are looking to use the same prepared query in multiple envoy upstream configurations, the difference in those upstreams will be the port and the
envoy_cluster_json
of those upstreams for both timeouts & circuit breaking reasons.Snippet of our current hcl:
Right now I believe there is a not well documented requirement that the envoy cluster name needs to match the
destination_type
+ ":" +destination_name
of the upstream. Envoy requires unique cluster names in its config, so we cannot create two different upstreams in the consul hcl that use the same prepared query.We are unable to create another upstream using the same prepared query. If we attempt to create a second upstream with a envoy cluster name that does not equal
prepared_query:our-service-query
it will not be populated with any servers. And if you attempt to create a second upstream with an envoy cluster name ofprepared_query:our-service-query
again envoy will not startup correctly with the warning:Use Case(s)
Example config we would like support:
If the envoy cluster names did not need to match the prepared queries then we could reuse the queries for multiple upstreams. But now it appears that we have to create and maintain multiple copies of the queries that only differ by name but have the same content.