my question is simple.
How to execute a bash command in the pod? I want to do everything with one bash command?
[root@master ~]# kubectl exec -it --names
I use something like this for get into the pod's shell:
kubectl exec -it --namespace develop pod-name bash
then you can execute the command you want within the pod (e.g. ping)
ping www.google.com