kubectl exec -Befehl in Pod

kubectl exec pod_name -- sh -c "some_shell_code_run_inside_pod"
Armandres