kubernetes-sigs / external-dns

Configure external DNS servers (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services
Apache License 2.0
7.58k stars 2.54k forks source link

Support SRV records for ClusterIP services #3993

Open kwohlfahrt opened 11 months ago

kwohlfahrt commented 11 months ago

What would you like to be added:

Currently, there is support for generating SRV records from the ports of a NodePort service. There is also support for generating A/AAAA records that resolve to the IP address of headless services.

I would like to have support for generating the SRV records for headless services as well.

EDIT: And why not LoadBalancer as well, though I have no immediate use for this.

Why is this needed:

I already use the feature of generating A records for IP addresses of pods (using the AWS VPC CNI to allocate routeable addresses). I would also like to have service discovery based on SRV records for these same addresses.

ghost commented 10 months ago

/assign if this issue is available for work on, I am interested to work on this. First time contributor, will try my best!!

melnikovx commented 10 months ago

Hi, I would love to have SRV record support for LoadBalancer service type. The use case I have is to simulate Atlas mongoDB connector that uses SRV.

theloneexplorerquest commented 9 months ago

@kwohlfahrt any change you can propose a use case? I created a PR and the reviewer was asking for valid use case :blush:

joryirving commented 7 months ago

Any movement on this?

k8s-triage-robot commented 4 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 3 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

joryirving commented 3 months ago

/remove-lifecycle rotten

k8s-triage-robot commented 3 weeks ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

joryirving commented 3 weeks ago

/remove-lifecycle stale