-
Notifications
You must be signed in to change notification settings - Fork 66
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
Drop support for metadata records #403
base: master
Are you sure you want to change the base?
Conversation
…ies; cleanup of meta data records
8546eab
to
1d937c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work and thanks for the well-structured PR! I have an initial set of suggestions from jumping through the commits :)
Options *FactoryOptions | ||
Factory DNSHandlerFactory | ||
RemoteAccessConfig *embed.RemoteAccessServerConfig | ||
MaxMetadataRecordDeletionsPerReconciliation int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, this field will only exist for one or two releases and is only used in a few places.
Suggestions for a shorter name without loss of much information are welcome!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't mean to criticize the length of the field name :) I think it's totally fair and appropriate :D As otherwise stated, I usually prefer verbose, clear names but I'll take any chance that I can get to bring up my favorite Welsh train station 🚂
@@ -640,6 +648,7 @@ Flags: | |||
--compound.infoblox-dns.ratelimiter.enabled enables rate limiter for DNS provider requests of controller compound | |||
--compound.infoblox-dns.ratelimiter.qps int maximum requests/queries per second of controller compound | |||
--compound.lock-status-check-period duration interval for dns lock status checks of controller compound | |||
--compound.max-metadata-record-deletions-per-reconciliation int maximum number of metadata owner records that can be deleted per zone reconciliation of controller compound |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably irrelevant: I'm only mentioning it since the options list is so neatly formatted already: Strictly speaking, all lines would have to be indented again 🙃
What this PR does / why we need it:
The creation and management of metadata DNS records holding the owner identifier for each
DNSEntry
has been removed.These metadata DNS records will be removed automatically. To avoid running into rate limits, this removals will happen only during updates or with low batch size during the periodic reconciliation.
Depending on the size of the hosted zone the cleanup can take multiple days for very large hosted zone.
To ensure the correct work of the cleanup of these special
TXT
DNS records, the owner identifier provided via the--identifier
command line option and theDNSOwner
custom resources must still be provided.These identifiers are only used for cleanup, but not for any other purposes.
These ownership information was used to several purposes:
Please note that these edge cases are not supported anymore.
For handing over responsibility of DNS record, please use the
dns.gardener.cloud/ignore=true
annotation onDNSEntries
or the annotated source objects (likeIngress
,Service
, etc.)Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: