While adding a recent feature to our Kubernetes compute platform, we had the need to mutate newly-created pods based on annotations set by users. The mutation needed to follow simple business rules, and didn’t need to keep track of any state. Surely there must be a canonical solution to this simple problem? Well, sort of. There are powerful frameworks like Kubebuilder which address the many aspect
![A Simple Kubernetes Admission Webhook - Slack Engineering](https://cdn-ak-scissors.b.st-hatena.com/image/square/04be3157909586e6beda27fbe6f064ec736a4fe7/height=288;version=1;width=512/https%3A%2F%2Fslack.engineering%2Fwp-content%2Fuploads%2Fsites%2F7%2F2021%2F12%2Fst-kilda-containers-1920-1290.jpeg)