Kubernetes is based on Omega, which was an attempt to replace Borg using a more distributed architecture. Borg uses a single master with elections, with the replicas serving as hot spares.
Source: I was on Borg-SRE at Google for ~six years, then worked with Kubernetes at Stripe for ~five.