0
我要同时运行两个命令:需要运行多个命令
bash
service nginx start
如何传递那些通过使用下面的命令?
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