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

Ability to create a records outside of Service or Ingress objects

Open justinkillen opened this issue 3 years ago • 3 comments

What would you like to be added: A CRD for DNS entries not tied explicitly to a Service or Ingress object.

Why is this needed: Often, a DNS zone will be created per-cluster e.g. k8s.dev.example.org. In those cases, everything within that sub-domain is related to kubernetes resources. It would be nice to manage DNS for that sub-domain in a single place, instead of having DNS for load balancers managed by external-dns but other records managed by e.g. terraform.

This would also help with some use cases where Service objects are being generated using an Operator pattern, but the operator is making assumptions about the external-dns configuration. For example, let's say the k8s cluster admins have --ignore-hostname-annotation and --fqdn-pattern {{.Name}}.{{.Namespace}}.k8s.dev.example.org specified, but the operator assumes that setting the hostname annotation will work. In this situation, it would be convenient to be able to provide a separate resource to create the record that the operator expected as a CNAME to the record that was actually created.

justinkillen avatar Mar 11 '22 19:03 justinkillen

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 09 '22 19:06 k8s-triage-robot

The Kubernetes project currently lacks enough active 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 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 rotten

k8s-triage-robot avatar Jul 09 '22 19:07 k8s-triage-robot

Did you try using the DNSEndpoint resource?

Just make sure to set the --source=crd when starting external-dns.

cocotton avatar Aug 08 '22 18:08 cocotton

The Kubernetes project currently lacks enough active 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:

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

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

/close

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

@k8s-triage-robot: Closing this issue.

In response to this:

The Kubernetes project currently lacks enough active 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:

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

Please 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 Sep 07 '22 18:09 k8s-ci-robot