Skip to content

fiber default BodyLimit (4MB) causes 413 for large external-dns payloads #30

@ResamVi

Description

@ResamVi

Is your feature request related to a problem? Please describe.

We are running external-dns to create CNAME records
and our issue is that a POST /records currently returns a status 413.

A lot of dnsendpoints resources have built up and our external-dns instance is trying to catch up and create 8121 dnsendpoints:

Image

The payload that our external-dns sends to the webhook is 5MB but because your fiber is initialized using no explicit BodyLimit it uses the default of 4MB

Can you please disable it or set a bigger limit that fits our scale?

Describe the solution you'd like

Set BodyLimit to -1 here

Describe alternatives you've considered

external-dns is not source code that we maintain and this webhook should be able to handle higher loads or at least be able to configure a limit for users

Search

  • I did search for other open and closed issues before opening this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions