Abstract
Kubernetes native applications embrace the declarative approach of the platform: observe a desired state, and reconcile the state of the system using that desired state.
A Kubernetes controller is a program which encapsulates this behavior in a non-terminating loop.
This hands-on workshop will introduce the few concepts required to build and deploy a controller on their laptop, and then will help the attendees to write their first controller exposing a custom API. This workshop will explore the best practices to implement a solid controller, and the most common options for frameworks and testing methods.
Goals:
- Learn the different concepts around the implementation of a Kubernetes controller
- Write a simple Kubernetes controller
- Learn about the different frameworks available to write a Kubernetes controller
Prerequisites
- Intermediate knowledge of the Go language
- A laptop with kind (https://kind.sigs.k8s.io/) installed