You now have a better understanding of how to write an Operator using the Kubebuilder. The real goal of this scenario is to show you the power of extending Kubernetes with your own custom resources and coding controllers that are dedicated to observing and managing your custom resources.
There are some other competing Operator frameworks such as the Operator-SDK, Metacontroller and KUDO. KUDO, governed by D2IQ, may be an easier way to write an Operator as it embraces a declarative form over an imperative Go based controller. In this Katacoda course head over to the scenario for learning KUDO and hopefully you will see why it was created to make writing Operators even easier.
With these steps you have learned:
- ✔ how to modify, build and test code in a Kubebuilder skeleton project,
- ✔ how to create a CRD through Go structs and, automation,
- ✔ how to define RBACs created through generation from code annotations,
- ✔ how to create a controller for observing and managing the at custom resources,
- ✔ how to associate Kubernetes events back to the managed resources.
Special Thank You
To Ken Sipe as he inspired this scenario from his labs found here.
For a deeper understanding of these topics and more join
at various conferences, symposiums, workshops and meetups.
Software Architectures ★ Speaker ★ Workshop Hosting ★ Kubernetes & Java Specialist