Logging

The Kubernetes runner writes logs to stdout and stderr. You can access the logs using the web Dashboard or the Kubernetes command line tools.

$ kubectl logs drone -c runner

The Kubernetes runner is configured to log runtime events. You can enable debug or trace level logs to get detailed information on the flow through the system.

DRONE_DEBUG=true
DRONE_TRACE=true

You can enable http request logging to get detailed http communication details between the runner and the server. This generates significant output and should only be enabled to troubleshoot communication issues.

DRONE_RPC_DUMP_HTTP=true
DRONE_RPC_DUMP_HTTP_BODY=true