Lease API | Kubernetes

  Рет қаралды 1,897

JMMTechnology

JMMTechnology

Жыл бұрын

In this video I discuss the use of leases in kubernetes and how they are used for monitoring node health and leader election in HA applications.

Пікірлер: 8
@itdots543
@itdots543 Ай бұрын
thank you! The best tutorial I've seen so far.
@jmmtechnology4539
@jmmtechnology4539 Ай бұрын
Glad you found it useful!
@imbordred
@imbordred Жыл бұрын
Can you do a series where you troubleshoot or a questions challenge? Thanks for a great seres :)!
@anveshreddyoffofficial6581
@anveshreddyoffofficial6581 6 ай бұрын
What's the reason for a lease to be used by node? For kube API to know the status of the node, can't kubelet of that node just send the requests directly to the API server instead of updating the lease? I can't see how the lease is helpful for nodes. Although I agree with you for distributed case we need leases.
@jmmtechnology4539
@jmmtechnology4539 6 ай бұрын
Good question, my understanding is that the main reason for using the lease API is for performance, in particular for larger clusters. You can find a detailed explanation on why leases are now used for node heartbeats here: github.com/kubernetes/enhancements/tree/master/keps/sig-node/589-efficient-node-heartbeats
@anveshreddyoffofficial6581
@anveshreddyoffofficial6581 6 ай бұрын
@@jmmtechnology4539 Thanks for the reply :). Will check that out!!
@anveshreddyoffofficial6581
@anveshreddyoffofficial6581 6 ай бұрын
@@jmmtechnology4539 I did check it out and as you said it's because of the performance. They used to do this earlier but because of etcd going out of storage easily due to these update frequency being just 10s and it has to store this info. They moved away from it by introducing a lease for this. Great read!. Thanks a lot for the resource. Would love if you make more videos on these concepts explaining things internally, why they did what they did. Thanks a lot.
@gdevelek
@gdevelek 29 күн бұрын
The important thing is to show how leases can be used to coordinate a two-replica app to have one active and one passive replica.
Kubernetes Node Outages | What Happens When a Node Goes Down
10:22
Kubernetes Storage | Why Use StorageClasses?
14:51
JMMTechnology
Рет қаралды 2,7 М.
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 10 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 52 МЛН
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 22 МЛН
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 5 МЛН
You Need Kubernetes?
27:59
ThePrimeTime
Рет қаралды 188 М.
Kubernetes Leader Election for Fun and Profit - Nick Young, VMware
21:23
CNCF [Cloud Native Computing Foundation]
Рет қаралды 3,4 М.
Kubernetes Explained in 6 Minutes | k8s Architecture
6:28
ByteByteGo
Рет қаралды 863 М.
5.1.b-Leader Election--Fundamentals--Leader election via a lease
6:57
Securing Kubernetes With Admission Controllers - Dave Strebel, Microsoft
33:53
CNCF [Cloud Native Computing Foundation]
Рет қаралды 6 М.
Top 5 Most-Used Deployment Strategies
10:00
ByteByteGo
Рет қаралды 248 М.
Node Pressure Eviction | Kubernetes
12:06
JMMTechnology
Рет қаралды 1,2 М.
kubernetes endpointSlices Explained !!!
13:35
Suraj in Cloud
Рет қаралды 3,2 М.
Kubernetes Network Policies Explained
16:02
Techworld with Rajendra
Рет қаралды 2 М.
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 10 МЛН