How to Jump Onto a Kubernetes Pod With Bash


If you want to jump onto a particular Kubernetes Pod and run Bash within it, you can do so as follows:

kubectl exec -ti <pod_name> /bin/bash

You can get the <pod_name> by running kubectl get pods