kubernetes

A very simple custom Kubernetes controller

TL;DR

Learning to write custom Kubernetes controller

simple Kubernetes controller

Recently, after the KubeCon and CloudNativeCon 2018 in Copenhagen (short summary coming up soon), I decided to give a go to the more and more popular topic of custom kubernetes controllers. The problem is, it was not that easy to get started. I found some examples on the Internet, but none of them was really a bare minimum, that makes learning and understanding the code easier. So, I took kubewatch and turned it into something that – I hope – is close to “the minimal kubernetes controller”.

The rest of this blog entry is actually the project on github itself: https://github.com/piontec/k8s-demo-controller.  Go there, read my comments, read the code and you should be good to get started and explore further topics like Custom Resource Definitions or Operator Framework.