Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Router: Changed default resource resync interval from 10mins to 30mins
Rationale: - Resyncs are mainly intended for robustness. Mainly to handle the case where the resource handler failed to process the item and we hope this will be fixed if we process the item again after sometime(resync interval). Yes, this may fix some transient errors but if we resync frequently then there could be big penalities. - Currently router watches these resources: routes, endpoints, nodes, namespaces, ingresses and secrets. When we have many routes (like several thousand in online case), processing these items takes long time, router reload itself takes few seconds (not milliseconds). Due to short resync interval there will be constant churn of reprocessing of all the items for all these resources. - Earlier we needed shorter resync interval because sharded router was depending on this interval but with #16039 that limitation is removed. 10 mins seems aggressive for some rare transient errors, changed defaults to 30 mins. Admin can edit router deployment config if they need custom resync interval.
- Loading branch information