-
Notifications
You must be signed in to change notification settings - Fork 67
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
Exposing port 53 as localstack is also a DNS server #109
Comments
Thanks! |
@alexrashed Don't we need also to expose this port as part of the service object? Otherwise, how can we configure all pods to you LocalStack as DNS server? |
Also how did you think to use this feature in K8S? Config CoreDNS to forward all AWS domains to localstack DNS server? If yes, we need to edit the CoreDNS config. |
Hi @ezraroi . We're developing a repo that runs LocalStack in EKS with the DNS Servicer configured in CoreDNS. It's all running now and I'll make it public by COB tomorrow (is my plan). |
@ezraroi Heads up. I'm also using a dev container in the K8S namespace to be the client to LS. This diag doesn't have the K8S Services or CoreDNS in it but it gives you the idea. |
@cabeaulac Thanks for your answer and digram. Waiting for that repo. |
@cabeaulac Any updates on the repo with working example? |
Hey @ezraroi . Find me and a link to the repo in this post. https://www.linkedin.com/posts/chad-beaulac_aws-eks-k8s-activity-7153140232622587905-hPO6?utm_source=share&utm_medium=member_desktop |
Hey @ezraroi! |
I would say pointing at another repo that requires devxpod to work isn't a real solution. I agree with @ezraroi that you should be exposing the DNS ports via the k8s service, and then configuring Coredns to delegate the localstack domain to it. I've done some hand-edits to the manifests generated by this chart and it all works great once I add dns exposed on port 53, both TCP and UDP, setup a
|
Yeah, I agree, I think it would make sense. |
Since it's exposed as a ClusterIP and not NodePort, I don't think the node has any limitations in this way
I can definitely do this. I wanted to make sure that people were in alignment that this is an acceptable solution first. |
When running in K8S, we need to be able to use LocalStack DNS server capability (
Transparent Endpoint Injection
).The helm chart does not allow to bind that port which makes this immposible to use this feature in K8S
The text was updated successfully, but these errors were encountered: