I’m using it for all my cluster-switching needs.
kubectx & kubens
When working with multiple Kubernetes clusters and namespaces switching context can be a chore.
For this I enjoy using kubectx and kubens.
They can be installed using kubectl krew
.
kubectl krew install ctx
kubectl krew install ns
Tip
I’ve since switched to kubeswitch, which works much nicer for me.
Managing Multiple Kube Config Files
This is a simple script that takes multiple kube config files and deeply merges them into one.
Tip
I’ve since switched to kubeswitch, which works much cleaner than this home-grown script.
Debugging Container Workloads
A helper container
Debugging container workloads can be a challenge sometimes, especially when running them in k8s, behind a reverse proxy or in other, possibly complex, traffic flow scenarios.
[Read More]Add fields to list with Kustomize
How to add things to a list using kustomize. This is useful for example when you need to patch additional environment variables into a pod.
[Read More]Helm: Join two lists
Since early 2019 the sprig
library used by helm
provides a concat
function that does exactly this.
Kubernetes
I have run and am still running loads of Kubernetes clusters, mostly on-premise.