Hello All,

*kubectl run nginx --image=nginx --command -- <cmd> <arg1> ... <argN>*

*kubectl run -it testnew --image=imagename --command -- 
"/bin/bash","-c","service nginx start && while true; do echo bye; sleep 
10;done" --requests=cpu=200m*

I have to run 2 commands at a time
1. bash
2.service nginx start
how can I pass those by using the above command

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to