-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Update localstack.dev.kubernetes script to expose DNS port #13320
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
base: main
Are you sure you want to change the base?
Conversation
Test Results - Preflight, Unit22 278 tests - 98 20 526 ✅ - 100 16m 34s ⏱️ +36s Results for commit 9107c52. ± Comparison against base commit f829e69. This pull request removes 170 and adds 72 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
fe95363 to
451e898
Compare
|
Same comment as in localstack/helm-charts#146. I would love to see if we can validate the PR to go 🍏 before merging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general exposing the DNS server to the host is full of problems. Can we add a CLI flag that opts out of this behaviour? Otherwise the nodes will fail to start
451e898 to
4c57900
Compare
Good point, adding two cli options
|
My suggestion was a flag to opt out, but you have added flags to opt in. Why do you think it's better to opt in to this? |
Sorry, I completely missed the out part of your suggestions. |
|
I'm not settled on either way, I think exposing DNS to the host is only useful for people developing Route53 generally, and probably people are going to be annoyed by this constantly not working that an opt-in is fine. I just wanted to check the logic. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ironically I cannot test this change since port 53 is bound by my docker daemon!
I have verified the config files manually and things seem to line up so let's merge this and if we have problems in the future we can tackle them them.
Motivation
We want to be able to expose the DNS port when running localstack on k8s for development.
Companion helm-charts PR localstack/helm-charts#146
Changes
localstack.dev.kubernetesscript to create blocks for the DNS port configuration.Tests
Tested with the changed helm-charts.
Related
related to UNC-69