-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
How to create SRV record instead of the default TXT record using external-dns #1814
Comments
In my case, I'm managing a set of devices that needs to be discovered by Prometheus using SRV.
The A records are created properly but the SRV is not created and no logs or any message appears indicating why is not creating the record. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen |
@aschaber1: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
We have an application that does SRV lookup to connect to the ILB of the container.
I have added the following annotations to create a DNS record in my service.yaml file
annotations:
external-dns.alpha.kubernetes.io/hostname
external-dns.alpha.kubernetes.io/ttl
This creates TXT and A record. Is there any way to get SRV record created instead of TXT record?
I can see external-dns do support SRV record as per below:
https://github.com/kubernetes-sigs/external-dns/blob/master/provider/recordfilter.go
Please advise.
The text was updated successfully, but these errors were encountered: