Zest.

Kubernetes: Inspect pods

A short, tested Kubernetes example for inspect pods. Copy it and adjust the names and paths for your project.

Kubernetes
kubectl get pods -n my-namespace
kubectl describe pod my-pod
kubectl logs -f my-pod
kubectl logs my-pod --previous      # after a crash
kubectl exec -it my-pod -- sh

Find it in Zest

Search for “kubernetes inspect pods” in Zest and this example appears above the results, with other matches to choose from. Searches stay private.

More Kubernetes examples

All Kubernetes examples