转载:https://blog.csdn.net/drift_away/article/details/82996447
kubectl exec -it <podName> -c <containerName> -n <namespace> -- shell comand
kubectl exec <podName> -c <containerName> -n <namespace> -- bash -c "ps -ef && ls-l"