Generating ClientSet/Informers/Lister for custom resource
In this chapter, we will start writing a Kubernetes Operator, Kluster, that is going to provision Kubernetes cluster on Digital Ocean dynamically. We will introduce a new type of Kluster using CRDs and register that type using Scheme. We will also generate DeepCopy functions, clientset, informers, and listers for the new type (Kluster) that we have introduced. Apart from that, we will look into how we can use controller-gen to generate CRD for the type.
Writing Kubernetes Operator (Kluster) from Scratch
-
Generating ClientSet/Informers/Lister for custom resource
Playing
-
Implementing add and delete handler function
44:29
-
Interacting with DigitalOcean APIs on Kluster's add event
43:02
-
SubResources and additional printer columns for CRDs
35:37
-
Event recorder for Kluster custom resource
51:47
-
Packaging (containerise and RBAC) your K8S operator
37:02
Instructor
Have feedback about this course or lesson? We want to hear it! Send your thoughts to mentoring@infracloud.io.