hi, I’m trying to execute “kubectl” command with exec pipeline because of some reasons. I had installed a runner.
I also use the command below to start the service:
sudo drone-runner-exec daemon exec.config
and got the successful messages from logs as well:
INFO successfully pinged the remote server INFO polling the remote server ....
However, when Drone is activated by pushing code, the error occur:
Here is my .drone.yaml:
kind: pipeline type: exec name: default1 platform: os: linux arch: amd64 steps: - name: greeting commands: - kubectl get no
btw, I tried other commands like “ls”, “docker ps”, etc. And they all run correctly.