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

Use a single DNS provider for external-dns for consistent naming across applications #255

Open
nacx opened this issue Mar 14, 2023 · 0 comments
Assignees

Comments

@nacx
Copy link
Member

nacx commented Mar 14, 2023

With the current external-dns approach, we are creating one subzone per cluster. This leads to non-ideal DNS configurations when you have a demo environment with clusters in multiple clouds, as hostnames will have different DNS suffixes depending on where services are deployed. In the first version, I proposed (still working in my fork), external-dns was configured to control a single DNS zone (the one used by the MP), and all services in the environment got consistent naming.

Now, in a setup with, say, 4 clusters, 2 in AWS, 2 in GCP, I'm getting DNS names like:

tsb:  nacx161.mp.aws.tetrate.com
app1: app1.eks-nacx161rc2-eu-west-3-0.mp.aws.tetrate.com
app2: app.gke-nacx161rc2-europe-southwest1-0.gcp.sandbox.tetrate.io

We should have a way to configure external-dns to just use one zone so we can have consistent DNS naming in the deployed apps.

@nacx nacx changed the title Use a single DNS provider for external-dns Use a single DNS provider for external-dns for consistent naming across applications Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants