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

added option to route traces traffic to local availability zone #4655

Conversation

kostz
Copy link
Collaborator

@kostz kostz commented Sep 23, 2021

@kostz kostz marked this pull request as ready for review September 23, 2021 13:21

rewrite name exact {{ .ConfigItems.coredns_global_traces_endpoint }} {{ .ConfigItems.coredns_local_zone_traces_endpoint }}

kubernetes cluster.local {
Copy link
Contributor

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.

Copy link
Collaborator Author

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

Copy link
Contributor

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?

Copy link
Collaborator Author

@kostz kostz Sep 29, 2021

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

Copy link
Collaborator Author

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

@mikkeloscar
Copy link
Contributor

👍

1 similar comment
@aermakov-zalando
Copy link
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants