Training material
Kubernetes operators hands-on
Custom controllers and CRDs in Go
Write, test, ship and run your own operators – from client-go to Kubebuilder, trained against envtest.
- client-go
- controller-runtime
- Kubebuilder
- CRDs
- envtest
- Webhooks
Training plan
- Foreword
- Day 0: The Training Ground
- Day 1: The Operator Pattern with client-go by Hand
- Day 2: controller-runtime without Kubebuilder
- Day 3: Kubebuilder Project and First CRD
- Day 4: Reconcile Done Right
- Day 5: Status and Conditions
- Day 6: Tests with envtest
- Day 7: Finalizers and External Resources
- Day 8: Validation – Markers, CEL and Webhooks
- Day 9: API Versions and Conversion
- Day 10: Watches, Predicates and Indexers
- Day 11: RBAC, Leader Election, Metrics, Health
- Day 12: Shipping – Image, kustomize, Helm
- Day 13: Scaling and Robustness
- Day 14: Practice – an OpenBao policy operator
- Day 15: Competition – Debug Drills
- Appendix A: Cheat Sheet
- Appendix B: Final Exam