Comments (9)
additionally there is a workqueue which helps to create a controller synchronized with a certain k8s resource state. Example: https://github.com/kubernetes/client-go/pull/65/files
from external-dns.
Thanks @ideahitme.
This is also a very valuable document: Writing Controllers
from external-dns.
We also could import the kops code e.g. https://github.com/kubernetes/kops/blob/master/dns-controller/pkg/watchers/servicecontroller.go
The abstractions are not necessarily any easier to understand, in my experience.
The top bug that everyone falls in to is start reading the results in, and not waiting until the List has completed before processing. So on a restart, you delete almost all the records, then repopulate them as the List proceeds.
The kops dns-controller builds an in-memory desired state of the world (https://github.com/kubernetes/kops/blob/master/dns-controller/pkg/dns/dnscontext.go), and then keeps tracks of which records are dirty. It then polls this for dirty records every N seconds, which gives us some change debouncing. Polling for dirty records is efficient, particularly in the "nothing changed" case.
from external-dns.
Joe Beda built another template for how a controller should look: https://github.com/jbeda/tgik-controller
from external-dns.
Our use-case for external-dns has latency requirements that the current reconciliation loop implementation isnβt ideally suited to. Iβd be interested in picking this up if its still the direction the project wants to go in?
from external-dns.
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
from external-dns.
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-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
from external-dns.
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-testing, kubernetes/test-infra and/or fejta.
/close
from external-dns.
@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-testing, kubernetes/test-infra and/or fejta.
/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.
from external-dns.
Related Issues (20)
- [bitnami/external-dns] Cloudflare A records not updated HOT 2
- Node source ignores multiple FQDN templates
- Add support for `labelFilter` to `node` source
- New format txt registry records fail for Apex record HOT 1
- MX Records created via CRD not being deleted
- Are cross Azure resource group DNS zones supported in External DNS?
- Manager sees all the 'alpha' status and wonders if external-dns can be trusted. How is the status of each provider decided?
- Flaky test: TestCoreDNSApplyChanges HOT 4
- v.0.14.0 [AWS] External-DNS cannot remove records from 2 Route 53 hosted zones (InvalidChangeBatch: [The request contains an invalid set of changes]) HOT 20
- GANDI: support for personal access token
- Allow to add metadata to the azure records
- Documentation for supported flags and environment variables HOT 1
- Cloudflare CF_API_TOKEN doesn't work HOT 3
- SRV support for CRD source and PowerDNS provider
- external-dns 0.14.0 with DynamoDB Registry: panic with large set of records HOT 2
- Allow for User API tokens to be used with DNSimple
- Route 53 txt multiple values
- Hide the AWS assume role ExternalID
- chore: update templating to support extra containers and optional service creation
- chore: update templating to support extra containers and optional service creation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from external-dns.