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

How can I register a resolver? #5186

Closed
nakabonne opened this issue Dec 3, 2018 · 2 comments
Closed

How can I register a resolver? #5186

nakabonne opened this issue Dec 3, 2018 · 2 comments
Labels
question Questions that are neither investigations, bugs, nor enhancements

Comments

@nakabonne
Copy link

Title: How can I register a resolver?

Description:
I want to resolve names dynamically when getting EDS response.
That is, I am looking for a way to set a EDS config to use LOGICAL_DNS/STRICT_DNS.
There are multiple discussions on this subject.

In these discussions, it is recommended to do complete CDS response.
However, my log is output as follows.

Consider setting resolver_name or setting cluster type to 'STRICT_DNS' or 'LOGICAL_DNS'

So I look up the resolver_name in the document and it is written as below.

The name of the resolver. This must have been registered with Envoy.

How can I register a resolver?

@junr03
Copy link
Member

junr03 commented Dec 3, 2018

I think there are two parts to your question:

  1. Your actual objective to resolve EDS endpoints via DNS: this is still a feature request, as also presented in when Cluster using EDS service to fectch endpoints ,can't using DNS name in endpoint address #4290. That issue was auto closed, but can be reopened. The solution that @dio suggested there is still valid. Your control plane could do CDS for clusters with DNS-resolved addresses, instead of having EDS-based clusters.
  2. Your question about the resolver: Add custom resolver support for v2 Address messages #1477 has more contexts on resolvers.

@junr03 junr03 added the question Questions that are neither investigations, bugs, nor enhancements label Dec 3, 2018
@nakabonne
Copy link
Author

Thank you for your politeness.
I thought resolver_name would solve the EDS endpoint via DNS, but it seems not to be the case.
My problem was solved. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions that are neither investigations, bugs, nor enhancements
Projects
None yet
Development

No branches or pull requests

2 participants