Test and Evolve Your Kubernetes Operators - A Pragmatic Approach
HTML-код
- Опубликовано: 1 авг 2024
- We often hear people talking about Kubernetes (K8s) operators and if you ever used K8s you surely have deployed at least one. However, when the time comes to implement your first operator, it is sometimes challenging to keep in mind what matters and ensure the code we write can be testable, especially when it has to interact with multiple external services.
This talk will provide you with a solid foundation of:
- Best practices in writing operator code
- Admission/mutating webhooks and schema validation (including Common Expression Language)
- How to test operators (and how various mainstream operators do it)
- Custom Resource Definitions API versioning and how to upgrade and support multiple versions
- How to monitor your operator and operator-managed resources
Riccardo Capraro, Presenter: squer.link/Riccardo
Sources:
Presentation: squer.link/kubernetes-operators
What is an operator?
- kubernetes.io/docs/concepts/e...
- www.redhat.com/en/topics/cont...
- • Kubernetes Operators E...
When do you need Custom Resources?
- kubernetes.io/docs/concepts/e...
Upcoming Brainfood Talks: squer.link/brainfoodtalks
Code Crafts: code-crafts.com/
www.squer.io
Chapters:
00:00 Start of Streaming
00:14 Intro & Agenda
02:45 K8s operators introduction
06:12 Best Practices
09:42 Custom Resource Definitions Наука