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

feat: force fqdn dns request for cloudwatch resolution by fluentbit TDE-1093 #499

Merged

Conversation

paulfouquet
Copy link
Collaborator

Motivation

Inside kubernetes, DNS resolution uses ndots: 5 this means any dns requests that has less than 5 dots will go through all the search domains before looking up the actual domain. AWS Cloudwatch logs.ap-southeast-2.amazonaws.com has 3 dots.

Modification

Hardcode the Cloudwatch endpoint to logs.ap-southeast-2.amazonaws.com. so DNS requests to Cloudwatch force the DNS lookup to be fully qualified.
This has been tested on a non prod cluster and we've seen a reduction of the DNS queries to the coredns

Checklist

  • Tests updated
  • Docs updated
  • Issue linked in Title

@paulfouquet paulfouquet requested a review from l0b0 April 3, 2024 19:37
@paulfouquet paulfouquet added this pull request to the merge queue Apr 3, 2024
Merged via the queue into master with commit 9df31e0 Apr 3, 2024
3 checks passed
@paulfouquet paulfouquet deleted the feat/fluentbit-use-fqdn-for-cloudwatch-endpoint-tde-1093 branch April 3, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants