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

Feature: support un-publishing specific DNS records #651

Open
maleck13 opened this issue May 16, 2024 · 3 comments
Open

Feature: support un-publishing specific DNS records #651

maleck13 opened this issue May 16, 2024 · 3 comments
Labels
kind/enhancement New feature or request

Comments

@maleck13
Copy link
Collaborator

maleck13 commented May 16, 2024

Use Cases

When migrating an application from one cluster to another, I want to be able to remove the records for one listener within a given cluster/gateway instance without removing the records for all the other listeners in the gateway or removing records for live clusters and gateway, so that I can stop the DNS response sending traffic to one particular gateway instance for a given listener but keep my HTTPRoute etc around to handle / forward on requests that may arrive at the cluster due to DNS caching

In the case where some DNSRecords fail to be cleaned up due to an issue with the DNSOperator, I want to be able to indicate that another controller should remove them so that they are not left in place

Options

Similar to how RateLimitPolicy has a route match option to select HTTPRouteMatch options, we could add something similar for gateway listeners.

use an iteration of the targetRef to be able to select multiple sectionNames

@maleck13 maleck13 added the kind/enhancement New feature or request label May 16, 2024
@maleck13
Copy link
Collaborator Author

@mikenairn @philbrookes interested in your thoughts on this type of use case

@maleck13
Copy link
Collaborator Author

@guicassolato We see the need to be able to select a set of section names. I believe you were discussing this also. With the policy machinery, do you see the ability to do this being added as a capability of that? We are debating how we want to solve this type of problem, but it seemed like it was potentially a more generic problem than just DNS

@maleck13 maleck13 changed the title Feature: support unpublishing DNS records for a given listener Feature: support un-publishing specific DNS records Jul 29, 2024
@philbrookes
Copy link
Contributor

This use-case can be covered by sectionName targeting (i.e. target all other sectionNames on the gateway). The ideal longterm solution here is that gateway API introduce an "excludeSectionNames" which can be used to specify specific sectionNames to no longer process). @guicassolato @maleck13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants