IMLC.ME

Kubernetes Troubleshooting Cheatsheet

k9s

K9s provides a terminal UI to interact with your Kubernetes clusters. The aim of this project is to make it easier to navigate, observe and manage your applications in the wild. K9s continually watches Kubernetes for changes and offers subsequent commands to interact with your observed resources.

https://github.com/derailed/k9s

Kail

View the logs for Kubernetes pods. It's supported to monitor all pods for given Deployment, Statefulset or other resources. Especially in some case that pod is restarted or scale in or out, kubectl logs will exit, while kail will detect the latest change and put new pods under monitoring.

https://github.com/boz/kail

Busybox

kubectl run -it --rm --restart=Never busybox --image=gcr.io/google-containers/busybox sh
kubectl run -it --rm --restart=Never curl --image=curlimages/curl curl -v