Testable Kubernetes Operators
summary
How to design and implement Kubernetes Operators so they can be reliably tested: covers tools and techniques for unit, integration and end-to-end testing of Operators, using the Operator SDK, controller-runtime, fake clientsets and testing frameworks to isolate reconciliation logic and simulate cluster resources. Explains approaches for writing testable reconciliation code, structuring controllers for dependency injection and using mocks/fakes to execute fast, deterministic tests against operator behavior.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 6:03Operator concept workflow
- 12:07Testing operators in practice
- 20:02Race conditions in operators
- 26:07Integration testing strategies
- 30:20Running integration tests
- 32:08Q&A
related talks
36mLessons learned writing 10+ Kubernetes Operators - Lars Francke and Jannik Heyl
31mKubernetes Operators within Reach of Any Developer
20mSmooth Operator - A Rough Guide to Kubernetes Operators
28mSmooth Operator - A Rough Guide to Kubernetes Operators - Olive Power, VMware
19mHow to build an operator that doesn't break prod
32mMinimalist Best Practices in Kubernetes Operators
53mAutomating Stateful Applications with Kubernetes Operators
32mMinimalist Best Practices in Kubernetes Operators
