k8s使用自定义命令远程加载程序 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 ``` 来自 大脸猪 写于 2021-06-22 11:41 -- 更新于2021-06-22 11:43 -- 0 条评论