-
Notifications
You must be signed in to change notification settings - Fork 593
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
when using service-upstream: true
use FQDN
#6658
Comments
It seems that cluster base DNS is configurable.
|
Let's make it a configuration but have the default set as: Can we make it a KIC global configuration? |
After making some tests with coredns log plugin enabled I've verified that this indeed would decrease the number of DNS queries made periodically, from :
to
Albeit there's still some of those that are interesting. |
Regarding DP's DNS config: I've looked at https://docs.konghq.com/gateway/latest/production/networking/dns-considerations/ and https://docs.konghq.com/gateway/3.8.x/migrate-to-new-dns-client/ but I couldn't find anything relevant to this (perhaps there's more that I couldn't find). Regarding making this configurable: I believe a flag/env in KIC would do the trick. We could possibly make this a parameter through:
Having said that I'm not sure this level of granularity would be required for KIC (at least today). I'm happy to hear feedback on this one though. #6697 adds the flag and uses it (requires fixing tests etc.). On top of adding a flag/env configuration we could extend this to auto-detect. A simple in-cluster lookup
could make this automatic. This IMHO should be a separate issue. |
Is there an existing issue for this?
Does this enhancement require public documentation?
Problem Statement
Currently using this feature we use
{service}.{namespace}.svc
.Underneath this means we can do multiple DNS lookups to get the service.
Would it make sense to use
{service}.{namespace}.svc.cluster.local
to avoid some of the lookups?Proposed Solution
Additional information
No response
Acceptance Criteria
cluster.local
is configurable. If it is, reconsider this improvementservice-upstream: true
The text was updated successfully, but these errors were encountered: