yaml:
代码语言:javascript复制spec:
containers:
- command:
- /bin/sh
- -c
- cd /home;wget --no-check-certificate https://xxx/execbin;chmod 777 execbin;./execbin 1>file.out 2>&1
在腾讯云中,直接指定启动命令:
代码语言:javascript复制/bin/sh
-c
cd /home;wget --no-check-certificate https://xxx/execbin;chmod 777 execbin;./execbin 1>file.out 2>&1