sajad torkamani

Assuming your pod has bash, run:

kubectl exec -it <pod-name> -- bash

References (1)

Posts that link to this one.