# Kubernetes Podcast from Google: Leader Election, with Mike Danese

**URL:** <https://discuss.kubernetes.io/t/kubernetes-podcast-from-google-leader-election-with-mike-danese/13054>\
**Category:** General Discussions\
**Tags:** podcast\
**Created:** [September 29, 2020, 8:13pm UTC](https://discuss.kubernetes.io/t/kubernetes-podcast-from-google-leader-election-with-mike-danese/13054 "2020-09-29T20:13:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![castrojo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/castrojo/32/8_2.png) [@castrojo](https://discuss.kubernetes.io/u/castrojo)\
**Post date:** [September 29, 2020, 8:13pm UTC](https://discuss.kubernetes.io/t/kubernetes-podcast-from-google-leader-election-with-mike-danese/13054/1 "2020-09-29T20:13:53Z")

</div>

Kubernetes makes it easy to run distributed workloads, but how do you make sure that replicas don’t conflict with one another? You elect one as the leader. [Mike Danese](https://twitter.com/mikedanese), chair and TL of Kubernetes SIG Auth, joins a vegan and a carnivore to explain how Kubernetes implements leader election.

Do you have something cool to share? Some questions? Let us know:

- web: [kubernetespodcast.com](https://kubernetespodcast.com)
- mail: [kubernetespodcast@google.com](mailto:kubernetespodcast@google.com)
- twitter: [@kubernetespod](https://twitter.com/kubernetespod)

### Chatter of the week

- What is a [staycation](https://en.wikipedia.org/wiki/Staycation)?
- What is [steak](https://en.wikipedia.org/wiki/Steak)?
  - [Beefsteak](https://foursquare.com/v/beefsteak/5b562c43646e380039243321), vegetarian/vegan restaurant

- [Nachos](https://en.wikipedia.org/wiki/Nachos)

### News of the week

- [Chaos Mesh 1.0](https://chaos-mesh.org/blog/chaos-mesh-1.0-chaos-engineering-on-kubernetes-made-easier)
- Azure news:
  - [AKS comes to Azure Stack HCI](https://azure.microsoft.com/en-us/blog/bring-innovation-anywhere-with-azures-multicloud-multiedge-hybrid-capabilities/) (Preview)
  - [AKS adds stopping/restarting clusters, Kubernetes 1.19, confidential compute nodes](https://github.com/Azure/AKS/releases/tag/2020-09-21) (Preview)
  - [Bridge to Kubernetes is GA](https://devblogs.microsoft.com/visualstudio/bridge-to-kubernetes-ga/)

- [Istio Steering Committee election results](https://istio.io/latest/blog/2020/steering-election-results/)
- [OpenServiceMesh joins the CNCF Sandbox](https://openservicemesh.io/blog/open-service-mesh-osm-accepted-into-cncf-as-a-sandbox-project/)
- [Odo 2.0.0 GA](https://odo.dev/blog/odo-200-ga-release/)
  - [Odo from Deep Space 9](https://memory-alpha.fandom.com/wiki/Odo)

- [Determined AI on Kubernetes](https://determined.ai/blog/determined-on-kubernetes/)
- [Cloud Run for Anthos adds events](https://cloud.google.com/blog/products/serverless/cloud-run-for-anthos-adds-events)
- [KubeAcademy Pro from VMware](https://tanzu.vmware.com/content/blog/introducing-kubeacademy-pro-in-depth-kubernetes-training-totally-free)
- [KubeCon EU 2020 transparency report](https://www.cncf.io/blog/2020/09/23/kubecon-cloudnativecon-europe-2020-virtual-conference-transparency-report-a-very-successful-first-virtual-event/)
- [Scholarships for KubeCon NA 2020](https://www.cncf.io/blog/2020/09/24/scholarships-at-kubecon-cloudnativecon-north-america-2020-virtual-apply-now/) are open for application

### Links from the interview

- [Wet labs and dry labs](https://www.universitylabpartners.org/blog/wet-lab-vs-dry-lab-for-your-life-science-startup)
- [Threads](https://en.wikipedia.org/wiki/Thread_(computing))
  - [What is the difference between processes and threads?](https://stackoverflow.com/questions/200469/what-is-the-difference-between-a-process-and-a-thread)

- [Mutex or lock](https://en.wikipedia.org/wiki/Lock_(computer_science))
  - [What is a mutex?](https://stackoverflow.com/questions/34524/what-is-a-mutex)

- [Critical section](https://en.wikipedia.org/wiki/Critical_section)
- [Compare-and-swap](https://en.wikipedia.org/wiki/Compare-and-swap)
- [Gas station bathroom keys](https://www.247allentownemergencylocksmith.com/blog/24-hour-locksmith-allentown/hilarious-gas-station-bathroom-keys/)
- [Futex](https://en.wikipedia.org/wiki/Futex)
- Lock server:
  - [Chubby](https://research.google/pubs/pub27897/)
  - [etcd](https://etcd.io/)

- [Optimistic concurrency](https://en.wikipedia.org/wiki/Optimistic_concurrency_control)
- [Resource versions](https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions)
- [Regional clusters in GKE](https://cloud.google.com/kubernetes-engine/docs/concepts/types-of-clusters#regional_clusters)
- [Leader election](https://en.wikipedia.org/wiki/Leader_election)
- [Leader election client in Kubernetes’ client-go](https://pkg.go.dev/k8s.io/client-go/tools/leaderelection)
  - [An example of using it](https://carlosbecker.com/posts/k8s-leader-election) by Carlos Becker
  - [The new Lease API](https://github.com/kubernetes/kubernetes/pull/64246)

- [Paxos](https://en.wikipedia.org/wiki/Paxos_(computer_science)) and [Raft](https://en.wikipedia.org/wiki/Raft_(computer_science))
- [Deadlock](https://en.wikipedia.org/wiki/Deadlock)
- [Split brain](https://en.wikipedia.org/wiki/Split-brain)
- [Mike Danese on Twitter](https://twitter.com/mikedanese) and [GitHub](https://github.com/mikedanese)

Original Source: [https://kubernetespodcast.com/episode/123-leader-election/](https://kubernetespodcast.com/episode/123-leader-election/)
