I’m using the stable/drone
to host Drone on a kubernetes cluster, when I’m triggering a build the job pod is well created but the build is stuck in Pending
status, the job pod seems ok from the describe command
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 3m39s default-scheduler Successfully assigned drone/drone-job-1-a2bqvvk10ezs7gxwq-hx8gr to srv-1
Normal Pulling 3m37s kubelet, srv-1 Pulling image "drone/controller:1.1.0"
Normal Pulled 3m35s kubelet, srv-1 Successfully pulled image "drone/controller:1.1.0"
Normal Created 3m35s kubelet, srv-1 Created container drone-controller
Normal Started 3m34s kubelet, srv-1 Started container drone-controller
But I have nothing in the pod logs, how can I activate them to debug further?
EDIT
The logs from the job pod after enabling them are stuck with this:
{
"arch": "amd64",
"level": "debug",
"machine": "srv-1",
"msg": "runner: get stage details from server",
"os": "linux",
"stage-id": 1,
"time": "2019-06-24T09:56:12Z"
}
2019/06/24 11:20:52 [DEBUG] POST https://drone-drone.drone/rpc/v1/details
2019/06/24 11:21:22 [ERR] POST https://drone-drone.drone/rpc/v1/details request failed: Post https://drone-drone.drone/rpc/v1/details: dial tcp 10.108.93.119:443: i/o timeout
Thank you