kubectl-shell
Open shell for the pod
Usage
$ kubectl shell xxxxxxxxxxxxxxxxx
This is snippet code to open shell into first available pod.
$ kubectl shell $(kubectl get pods --field-selector=status.phase=Running -o name | head -n 1)
Installation
$ go install github.com/mattn/kubectl-shell@latest
License
MIT
Author
Yasuhiro Matsumoto (a.k.a. mattn)