Skip to content

Add support for dnsConfig #1149

@RangelReale

Description

@RangelReale

Is your feature request related to a problem? Please describe.
The is a know problem in Kubernetes where DNS requests with less than 5 dots, is tried first with all possible suffixes (cluster.local, svc.cluster.local) instead of the full DNS name. So if the full DNS name is used, every single new network request will do 5+ wrong DNS requests before doing the right "raw" one.

Describe the solution you'd like
There must be a way to configure the dnsConfig spec for the pod. Most new helm charts are adding this option.

      dnsConfig:
        options:
          - name: ndots
            value: "1"

Describe alternatives you've considered
Looking at the code, it don't seem to be possible to do this manually.

Additional context
This makes network requests have a random delay under high load.

Metadata

Metadata

Assignees

No one assigned

    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