Skip to content

Commit 29d683a

Browse files
authored
Reduce external-dns sync interval to 20s (#81)
* Reduce external-dns ( CRD -> etcd ) sync interval to 20s * Value is picked to be sligtly below default 30s DNS TTL we are currently working with * Terratest results: ``` --- PASS: TestOhmyglbBasicFailoverExample (157.84s) --- PASS: TestOhmyglbBasicFailoverExample/failover_happens_as_expected (35.41s) ``` * This way we reduced failover(or any kind of load balancing reconfiguration) from ~2.5 min down to 35 seconds See #80 for initial values
1 parent 3ab2abe commit 29d683a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chart/ohmyglb/templates/external-dns/external-dns.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ spec:
6969
- --log-level=debug # debug only
7070
- --registry=noop # disable local external-dns ownership, see https://github.com/kubernetes-sigs/external-dns/issues/1414
7171
- --annotation-filter=ohmyglb.absa.oss/dnstype=local # filter out only relevant DNSEntrypoints
72+
- --interval=20s # perform synchronization more frequently than default 1m for faster load balancing
7273
env:
7374
- name: ETCD_URLS
7475
value: http://etcd-cluster-client:2379

0 commit comments

Comments
 (0)