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

using DNSRecordSet with Kubernetes ingress #251

Open
errordeveloper opened this issue Aug 11, 2020 · 6 comments
Open

using DNSRecordSet with Kubernetes ingress #251

errordeveloper opened this issue Aug 11, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@errordeveloper
Copy link

errordeveloper commented Aug 11, 2020

It would be very nice if DNSRecordSet could be used in a way similar to external-dns, but perhaps without a stateful operator as such. Right now one can specify DNS record values as strings, but it would be nice to be able to reference a service or ingress somehow.

I'm not thinking of a full-blown alternative to external-dns, it's just a less dynamic use-case with just a few records managed more explicitly. If I didn't have Config Connector installed already, I'd probably use external-dns, but I do and I'd rather avoid adding another stateful operator that manages my GCP resources.

@errordeveloper errordeveloper added the enhancement New feature or request label Aug 11, 2020
@caieo
Copy link
Contributor

caieo commented Aug 11, 2020

Thanks for the request @errordeveloper and bringing this use case to our attention. Just to clarify, are you hoping to have DNSRecordSet reference services or ingress within the same cluster or expose them externally outside of the cluster?

@errordeveloper
Copy link
Author

errordeveloper commented Aug 11, 2020

Thanks for quick response! For the use case I have in mind, I would be looking to reference external IP of a service or ingress within the same cluster. Referencing something in another cluster seems kind of harder, and fortunately not something I currently care about, but maybe referencing a pre-allocated IP and making use of that IP somehow could be a way one could achieve it.

@caieo
Copy link
Contributor

caieo commented Aug 14, 2020

Hmmm okay, so to make sure I'm understanding this feature request properly, you'd like to be able to reference in-cluster Kubernetes service/ingress IP addresses with the DNSRecordSet(and specifically it'd be the spec.rrdatas field), right? If I'm misunderstanding it, please feel free to paste an example YAML snippet of how you expect this feature to look like.

@errordeveloper
Copy link
Author

@caieo yes, exactly. I am just wondering about other use-cases, feel free to ignore that part :)

@caieo
Copy link
Contributor

caieo commented Aug 15, 2020

Great, thanks for verifying! I'll add this to our list of future feature requests and any updates will be posted in this thread.

@funkymcb
Copy link

funkymcb commented Jul 5, 2024

Are there any updates on this topic?

We currently are facing the same problem and the suggested solution would clean up our messy workarounds

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
None yet
Development

No branches or pull requests

3 participants