Kubernetes Custom Controller - Part 2
Writing the Mutating Webhook
In this post we are going to look at the mutating webhook in order to inject a watcher sidecar container from Part 1. The code can be found here.
My personal ramblings
Writing the Mutating Webhook
In this post we are going to look at the mutating webhook in order to inject a watcher sidecar container from Part 1. The code can be found here.
An attempt at writing a Kubernetes custom controller
Recently, we switched to using Kubernetes for deploying the new version of our application at work. I love Kubernetes. It can handle so many different scenarios. And you can customize it to boot. The customization can take a few different forms, but the one I was most intrigued by were Custom Resource Definitions and Custom Controllers. There are few helpful tools and tutorials out there, but I thought I document my own progress here. I used Kubebuilder to help create the CRD and…