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

AWS: select only one Hosted Zone to create the Route53 records #4454

Open
leonardocaylent opened this issue May 9, 2024 · 8 comments
Open
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@leonardocaylent
Copy link
Contributor

Previous context needed:
The issue: link
This Pull Request: link

Current behavior:
User has 3 hosted zones in AWS:
Public: mydomain.com
Private: internal.mydomain.com
Private: us-west-2.internal.mydomain.com

User creates an ingress with host: testdeploy.us-west-2.internal.mydomain.com
One A record to the AWS Load Balancer is created on each of the 3 Hosted Zones to k8s-ingress-1234abcd.us-west-2.elb.amazonaws.com with the corresponding 2 TXT records.

Desired behavior:
The external-dns controller should detect that the record is only wanted on the us-west-2.internal.mydomain.com Hosted Zone in this case.

Discussion:
This will be done modifying the current function suitableZones on the aws.go provider. With the addition of rolling back the fix for overlapping zones and a regression to check that:

  1. Users that update to the new version of external-dns will plan to delete the unused Route53 Records
  2. Users that start using external-dns on the new version won't be affected at all
  3. Try to detect use cases where a feature flag is needed to keep the original behavior (We really don't want to do this but if there are use cases for this we'll need to think about a solution for this)

cc: @Raffo @mloiseleur

@leonardocaylent leonardocaylent added the kind/feature Categorizes issue or PR as related to a new feature. label May 9, 2024
@leonardocaylent
Copy link
Contributor Author

Additional information:
In the case of adding the record myapp.us-west-2.internal.mydomain.com and having this 3 hosted zones:
Public: mydomain.com
Private: internal.mydomain.com
Private: us-west-2.internal.mydomain.com

The record should be only created at us-west-2.internal.mydomain.com

@k8s-triage-robot
Copy link

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

This bot triages un-triaged issues 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 as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 22, 2024
@leonardocaylent
Copy link
Contributor Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 4, 2024
@k8s-triage-robot
Copy link

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

This bot triages un-triaged issues 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 as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 2, 2025
@k8s-triage-robot
Copy link

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:

  • 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 as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 1, 2025
@mloiseleur
Copy link
Contributor

/retitle feat(aws): select only one Hosted Zone to create the Route53 records

@k8s-ci-robot k8s-ci-robot changed the title [AWS][Feature/Enhancement] Make suitableZones select only one Hosted Zone to create the Route53 records (even if it's public or private) feat(aws): select only one Hosted Zone to create the Route53 records Feb 2, 2025
@mloiseleur
Copy link
Contributor

/retitle AWS: select only one Hosted Zone to create the Route53 records

@k8s-ci-robot k8s-ci-robot changed the title feat(aws): select only one Hosted Zone to create the Route53 records AWS: select only one Hosted Zone to create the Route53 records Feb 2, 2025
@mloiseleur
Copy link
Contributor

@leonardocaylent Is this issue solved or did I missed something ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants