kubernetes-sigs / kubernetes-sigs/aws-load-balancer-controller

[chart] support configuring dnsConfig

Open
#4,154 2 comments 2 reactions 0 assignees View on GitHub
triage/accepted
Dominant language
Go
Stars
4.3k
Forks
1.6k
Avg merge
1d 15h
Merged PRs (30d)
6

Description

**Describe the feature you are requesting**

Provide dnsConfig option for aws-load-balancer-controller Deployment Pods https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config

**Motivation**

with default ndots (5), requests to e.g. ec2.eu-west-2.amazonaws.com get unnecessarily expanded over search domains e.g. result in dns query for ec2.eu-west-2.amazonaws.com.eu-west-2.compute.internal.

**Describe the proposed solution you'd like**

Just like dnsPolicy was supported https://github.com/kubernetes-sigs/aws-load-balancer-controller/pull/2324 add equivalent for dnsConfig.

**Describe alternatives you've considered**

- (kyverno) policy to mutate aws-load-balancer-controller Pods
- forking chart and patching the fork

both of which are suboptimal

**Contribution Intention (Optional)**

- [x] Yes, I am willing to contribute a PR to implement this feature
- [ ] No, I cannot work on a PR at this time

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Kubernetes Pod DNS configuration documentation and the referenced pull request #2324 for the existing dnsPolicy support. Then locate the chart configuration and Deployment template for the controller and check whether related configuration tests are present. Done means users can configure dnsConfig for the controller Pods without forking the chart.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go, kubernetes
Domain
devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.