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 fully qualified domains for s3 requests TDE-1084 #940

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

blacha
Copy link
Member

@blacha blacha commented Mar 26, 2024

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 s3 has 4 dots.

We are seeing 10-20 DNS requests per s3 DNS request due to the number of search domains as well as IPV6 requests.

Modification

Any DNS requests to S3 are modified to have a trailing "." to force the DNS lookup to be fully qualified.

Checklist

If not applicable, provide explanation of why.

  • Tests updated
  • Docs updated
  • Issue linked in Title

src/fs.register.ts Show resolved Hide resolved
src/fs.register.ts Show resolved Hide resolved
@blacha blacha added this pull request to the merge queue Mar 26, 2024
Merged via the queue into master with commit 3fdbf98 Mar 26, 2024
2 checks passed
@blacha blacha deleted the feat/force-fqdn-s3 branch March 26, 2024 22:50
github-merge-queue bot pushed a commit that referenced this pull request Apr 7, 2024
🤖 I have created a release *beep* *boop*
---


## [3.4.0](v3.3.2...v3.4.0)
(2024-04-03)


### Features

* **basemaps:** Update the create-pr cli to add new individual vector
tileset. BM-992 ([#933](#933))
([9234ffb](9234ffb))
* detects and error if the tiff is not 8 bits TDE-895
([#890](#890))
([9e639b7](9e639b7))
* force fully qualified domains for s3 requests TDE-1084
([#940](#940))
([3fdbf98](3fdbf98))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit to linz/basemaps that referenced this pull request Apr 18, 2024
… load TDE-1084 (#3223)

#### Motivation

In our kubernetes cluster we are seeing perodic DNS resolution failures,

see linz/argo-tasks#940 for more information

#### Modification

force FQDN to be used for S3 requests when using cogify 

#### Question

Should, lambda-tiler also use FQDNs ?
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