Dive into a comprehensive tutorial on writing a simple Operator from scratch, including common mistakes and solutions. Learn the distinctions between simple controllers and Operators, explore client-go and apimachinery libraries, and understand how to create a watch mechanism for resources. Follow along as the instructor guides you through setting up Kubeconfig, initial run, implementing the reconcile function, creating a watch interface, and developing a subscribe function. Gain insights into runtime loop subscription and conclude with valuable lessons learned. Access additional resources, including a GitHub repository and an Operator whitepaper, to further enhance your understanding. The tutorial also provides timestamps for easy navigation and includes a link to Part 2 for continued learning.
Overview
Syllabus
- Intro
- Setup Kubeconfig
- Initial run
- Reconcile function
- Watch interface
- Subscribe function
- Runtime loop subscription
- Conclusion
Taught by
Cloud Native Skunkworks