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