sajad torkamani

Assuming your pod has bash, run:

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