external-dns icon indicating copy to clipboard operation
external-dns copied to clipboard

[Feature Request] Support ClusterIP services with externalIPs set

Open ConnorJC3 opened this issue 4 years ago • 26 comments

It is possible to specify the externalIPs manually on a ClusterIP service, which causes kube-proxy to bind to those ports on any node with that IP on one of its network interfaces and forward traffic into the cluster. Minimal example service:

apiVersion: v1
type: Service
metadata:
  name: example
  annotations:
    external-dns.alpha.kubernetes.io/hostname: example.com
spec:
  type: ClusterIP
  selector:
    app: example
  ports:
  - name: example-http
    port: 80
    targetPort: 80
  externalIPs:
  - aaa.bbb.ccc.ddd

As of right now kube-external-dns does not create an A record for services like this, it only does so for LoadBalancer services. It would be great if these services also could be managed via kube-external-dns (Note: I'm using a service like this because I require use of both TCP and UDP on the same port, which is not supported with LoadBalancer services at the moment).

ConnorJC3 avatar Nov 18 '19 03:11 ConnorJC3

@ConnorJC3 did you have any chance working on this feature ?

altreze avatar Feb 08 '20 11:02 altreze

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot avatar May 08 '20 11:05 fejta-bot

/remove-lifecycle stale Still wanted and not in external-dns to my knowledge.

@altreze no, I did not

ConnorJC3 avatar May 09 '20 00:05 ConnorJC3

I would also like this feature.

TimoKoole avatar Jul 27 '20 08:07 TimoKoole

/kind feature

seanmalloy avatar Aug 14 '20 06:08 seanmalloy

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot avatar Nov 12 '20 06:11 fejta-bot

/remove-lifecycle stale

seanmalloy avatar Nov 12 '20 15:11 seanmalloy

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale

fejta-bot avatar Feb 10 '21 15:02 fejta-bot

Still wanted.

/remove-lifecycle stale

ConnorJC3 avatar Feb 13 '21 15:02 ConnorJC3

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale

fejta-bot avatar May 14 '21 15:05 fejta-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten

fejta-bot avatar Jun 13 '21 16:06 fejta-bot

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community. /close

fejta-bot avatar Jul 13 '21 16:07 fejta-bot

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community. /close

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.

k8s-ci-robot avatar Jul 13 '21 16:07 k8s-ci-robot

+1

briscula avatar Sep 04 '21 00:09 briscula

/reopen

samcday avatar Jan 12 '22 10:01 samcday

/remove-lifecycle rotten

samcday avatar Jan 12 '22 10:01 samcday

@samcday: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

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.

k8s-ci-robot avatar Jan 12 '22 10:01 k8s-ci-robot

/reopen

ConnorJC3 avatar Jan 18 '22 06:01 ConnorJC3

@ConnorJC3: Reopened this issue.

In response to this:

/reopen

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.

k8s-ci-robot avatar Jan 18 '22 06:01 k8s-ci-robot

will try and work on this feature as I need it for an issue I am having. Trying to currently understand how the code works as there is currently code to do this, but for another service.

darkedges avatar Feb 17 '22 20:02 darkedges

@darkedges @ConnorJC3 did you manage to make any progress on this? We are currently building a setup with external-dns and just ran into this missing feature, which leads to external-dns creating DNS entries for ClusterIPs.

torbendury avatar Mar 07 '22 14:03 torbendury

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

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

k8s-triage-robot avatar Jun 07 '22 06:06 k8s-triage-robot

/remove-lifecycle stale

ConnorJC3 avatar Jun 07 '22 18:06 ConnorJC3

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

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

k8s-triage-robot avatar Sep 05 '22 18:09 k8s-triage-robot

/remove-lifecycle stale

adampl avatar Sep 06 '22 15:09 adampl

/lifecycle frozen

adampl avatar Sep 06 '22 15:09 adampl