A presentation at DDD East Midlands in in Nottingham, UK by Marcus Noble
After several years operating and building on Kubernetes clusters I have my fair share of battle scars. From network misconfigurations to soaring cloud costs to deletion of a production control plane, just to name a few.
Each time something went wrong, dealing with it became a little easier and each incident added another tool to my bag of tricks.
Over time I’ve tried to simplify and automate as much of my debugging technique as I can, through a combination of scripts, tools and code.
This talk will cover some practical tips and tricks that everyone using Kubernetes, regardless of experience level, can leverage to make interacting with clusters that little bit easier. We’ll start small, something anyone can do today, and work our way up to building our own tooling on top of Kubernetes to make every day operations just that little nicer.
The following resources were mentioned during the presentation or are useful additional information.
My personal collection of shell scripts and alias commands
A single page view of all built in kubectl commands
Manage multiple Kubeconfig files
Manage multiple Kubeconfig files
Manage multiple Kubeconfig files
Interactive terminal-based UI
Interactive desktop UI
Kubectl plugins package manager
nsenter
alternative to kubectl debug
, small enough to fit in a Tweet
My script to fake SSH access to Kubernetes nodes
Kubectl plugin to get ssh-like access to a node
My blog post on using Kyverno to hotfix a bug in our Giant Swarm CLI
Another of my talks covering Kubernetes webhooks in much more detail
A Kyverno policy to mitigate the Log4Shell vulnerability cluster-wide
My confernce talk on the potential dangers of using Kubernetes webhooks.
Kubernetes native policy management
Policy management build on top of Open Policy Agent
The official Go library for Kubernetes clients
Libraries for many different programming languages for working with the Kubernetes API
Directory of existing operators
Here’s what was said about this presentation on social media.