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

core dns load balancer does not get the correct targetPort #423

Closed
raffaelespazzoli opened this issue Apr 2, 2021 · 5 comments · Fixed by #626
Closed

core dns load balancer does not get the correct targetPort #423

raffaelespazzoli opened this issue Apr 2, 2021 · 5 comments · Fixed by #626
Labels
enhancement New feature or request
Milestone

Comments

@raffaelespazzoli
Copy link

the loadbalancer service deployed by setting the option:

exposeCoreDNS: true

is configured with the target port statically set to 53.
In some systems this requires privileges permissions, so user will change this to a different port via the following config:

coredns:
  servers:
    - zone: .
    port: 5353

the load balancer service template be changed to pick this setting.

@k0da
Copy link
Collaborator

k0da commented Apr 14, 2021

@raffaelespazzoli atm we maintain CoreDNS service ourselves so coredns chart service settings have no effect

@raffaelespazzoli
Copy link
Author

@k0da that is exactly my point. I'm asking to make some changes to the chart to guarantee consistency.

@k0da
Copy link
Collaborator

k0da commented Apr 19, 2021

@raffaelespazzoli I think k8gb currently doesn't support running CoreDNS on non standard port. Unfortunately coredns doesn't support setting containerPorts separately. So we can't really support configuration you mentioned.

@raffaelespazzoli
Copy link
Author

as of now this prevents deploying k8gb on OpenShift. Maybe we should ask coredns to support this feature in their chart?

@k0da
Copy link
Collaborator

k0da commented Apr 19, 2021

Sure, once CoreDNS supports it we can adapt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants