Open ytsarev opened 4 years ago
We also got a report from Infoblox admin that current hearbeat implementation is eating too much CPU, we need to optimize it apparently and/or make it optional
@ytsarev @kuritka is this still relevant?
Depends if we still want to invest into any for of split brain handling. If not, we should deterministically prove that it is not required.
As discussed in the community meeting today we should
In case of Infoblox we are heavily relying on TXT records which hold heartbeat timestamps of each k8gb controller instance. k8gb then mutual cross-check each other TXT records and if record is stale - remove the 'dead' k8gb from zone delegation configuration. This approach works perfect in on-prem Infoblox scenario but in case of external-dns / Route53 we are hitting two limitations:
We might redesign split brain mechanism and/or add custom TXT support to external-dns upstream