-
Notifications
You must be signed in to change notification settings - Fork 163
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
added option to route traces traffic to local availability zone #4655
added option to route traces traffic to local availability zone #4655
Conversation
|
||
rewrite name exact {{ .ConfigItems.coredns_global_traces_endpoint }} {{ .ConfigItems.coredns_local_zone_traces_endpoint }} | ||
|
||
kubernetes cluster.local { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are a bit worried that having kubernetes
defined both in this server block and below will double the memory for tracking kubernetes resources which would be a problem in big clusters.
Would you be able to verify if this is the case or not? Or alternatively merge it into a single server block to avoid defining the kubernetes block twice?
For context we have separate server blocks because of the guidance here: coredns/coredns#2593 (comment) it may need to be re-evaluated considering this new use-case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense, moved rewrite rule for traces endpoint into existed server, removed extra server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you include the guidance from this comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if I understand you correctly,
- Second server with a
kubernetes
plugin was removed - I'm not touching
kubernetes
plugin definition at all in the existed server, it stays the same - That enhancement you're referring to is probably a good case for individual ticket, testing (performance?) and individual pull request
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean I can replace
kubernetes {
pods insecure
}
with
kubernetes cluster.local 2.10.in-addr.arpa 3.10.in-addr.arpa {
pods insecure
}
but I'm not sure about the potential impact and it looks like not much related to the feature I'm implementing
👍 |
1 similar comment
👍 |
https://github.bus.zalan.do/teapot/issues/issues/3102