Commands
Basically a pasteboard for me.
Switch Contexts
To avoid having to continuously pass in --context=<name of context>
to all your commands, run this.
kubectl config set-context --current --namespace=<name of context>
Live Tail Logs
To live tail logs in kubernetes and watch them unfold as the logs come in, use the -f
directive to “follow”
kubectl logs -f <name of pod>
Last modified: