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