In part one of this series we demonstrated how to construct a Kubernetes validating webhook to extend Kubernetes for our custom resource validations. In this simple example we will require a team label to be present on all namespaces. The subject of this post is to take our simple example and deploy it to a cluster for a functional test.

As in the previous post, the example code is located here for the impatient. We will begin by looking at the ValidatingWebhookConfiguration resource. This configuration describes the resources and events Kubernetes will invoke your webhook service endpoint for. In the…


As new engineers onboard to teams within my organization, one area that is commonly confusing is Kubernetes admission control. This confusion is due to a lack of clear documentation and examples. For my team, pairing is a great way to knowledge transfer these concepts but I would like to offer my take on developing these resources in a series of posts.

Within this post, I hope to describe what validating webhooks are, how they come in handy to customize your Kubernetes clusters and provide a simple, tested example to begin working to a deployable implementation. …


Image for post
Image for post

I have been writing Java microservices for the majority of my career and stumbled into Go as an alternative to the boilerplate logic and structure Java requires. One of the most confusing and debated topics with Go is structuring applications. While there are many approaches to project structure with Go, I have found the following structure easy to maintain, test and (relatively) easy to transition other programmers to the language. To bypass my explanation and jump to the code, see the Github repository here.

Engineers frequently transition between multiple languages on a daily basis. Personally, I migrate between Java, NodeJS…

Chris Dyer

Passionate software craftsman. Consumed by test driven development and good design.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store