logo
painting

Kubernetes Tips and Tricks

A few tips and tricks I’ve come across. Starting off small!

Export Cluster Config from Kubeconfig

Say you have a whole bunch of clusters set in your kubeconfig file and you want to extract one. Just one.

Set your config to that cluster (maybe use kubectx) and do:

kubectl config view --minify --raw > cluster.kubeconfig

Boom!

Writing an Operator in Shell!

See the shell operator. Good times!