Skip to content
Hands-on IT IT Drills
Cover: Kubernetes operators hands-on

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

  1. Foreword
  2. Day 0: The Training Ground
  3. Day 1: The Operator Pattern with client-go by Hand
  4. Day 2: controller-runtime without Kubebuilder
  5. Day 3: Kubebuilder Project and First CRD
  6. Day 4: Reconcile Done Right
  7. Day 5: Status and Conditions
  8. Day 6: Tests with envtest
  9. Day 7: Finalizers and External Resources
  10. Day 8: Validation – Markers, CEL and Webhooks
  11. Day 9: API Versions and Conversion
  12. Day 10: Watches, Predicates and Indexers
  13. Day 11: RBAC, Leader Election, Metrics, Health
  14. Day 12: Shipping – Image, kustomize, Helm
  15. Day 13: Scaling and Robustness
  16. Day 14: Practice – an OpenBao policy operator
  17. Day 15: Competition – Debug Drills
  18. Appendix A: Cheat Sheet
  19. Appendix B: Final Exam