Тёмный

Lease API | Kubernetes 

JMMTechnology
Подписаться 1,1 тыс.
Просмотров 1,9 тыс.
50% 1

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.

Опубликовано:

 

12 мар 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@itdots543
@itdots543 Месяц назад
thank you! The best tutorial I've seen so far.
@jmmtechnology4539
@jmmtechnology4539 Месяц назад
Glad you found it useful!
@gdevelek
@gdevelek 22 дня назад
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.
@imbordred
@imbordred Год назад
Can you do a series where you troubleshoot or a questions challenge? Thanks for a great seres :)!
@anveshreddyoffofficial6581
@anveshreddyoffofficial6581 5 месяцев назад
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 5 месяцев назад
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 5 месяцев назад
@@jmmtechnology4539 Thanks for the reply :). Will check that out!!
@anveshreddyoffofficial6581
@anveshreddyoffofficial6581 5 месяцев назад
@@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.
Далее
Node Pressure Eviction | Kubernetes
12:06
Просмотров 1,1 тыс.
Kubernetes Storage | Why Use StorageClasses?
14:51
Просмотров 2,6 тыс.
1❤️
00:17
Просмотров 5 млн
But What Is Cloud Native Really All About?
7:32
Просмотров 139 тыс.
kubernetes endpointSlices Explained !!!
13:35
Просмотров 3,2 тыс.
Kubernetes Network Policies Explained
16:02
Просмотров 1,9 тыс.
Kubernetes Storage | Introduction
10:22
Просмотров 316
What is Kubernetes | Kubernetes explained in 15 mins
14:13
Mastering Kubernetes Resource Quota
9:41
Просмотров 562