Informer, Cache and Queue | Kubernetes Informers vs Watch | Basics of client-go Kubernetes Part - 4

Описание к видео Informer, Cache and Queue | Kubernetes Informers vs Watch | Basics of client-go Kubernetes Part - 4

Informers are very important concepts/construct to know if about if you are planning to write you own custom controller.
In this particular video we looked into what exactly are informers and the caching mechanism that it uses.
A part from that we also looked into some other things for example when to use FilteredSharedInformerFactory instead of SharedInformersFactory and the different between them.
We also looked into the comparison of informers with watch and why we don't use watch verb in favour of informers.


Web:
https://viveksingh.dev/

00:00 Introduction
00:20 Agenda
00:38 What are custom controller
02:47 watch verb from a resource interface
04:06 Why we don't use watch
05:01 Informers
07:22 Benefits of informers
08:28 SharedInformerFactory
11:22 Start and WaitForCacheSync methods
13:00 Using informers lister
13:57 resync time for shared informer factory
18:06 Register add, delete, update functions
19:44 Cache resync and actual update
22:38 ResourceVersion to figure out update
23:34 Don't update informer's cache's resources
25:20 FilteredSharedInformerFactory for filtered resources
29:03 Queues
32:56 Like and Subscribe

Комментарии

Информация по комментариям в разработке