Skip to content

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
Code language: Bash (bash)

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

See also  How to Find the Last Fibonacci Digit in Golang
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x