Build stuck in pending status using Drone with kubernetes

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

  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?

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 i/o timeout

Thank you

Same issue here - upgraded issue happened after upgrading to the latest drone:1.2.1 tag. Rolling back didn’t fix it.

Any suggestions?

@zfilali take a look at this PR from the upstream charts repo

After upgrading to 1.2.1 I was missing both the DRONE_RPC_PROTO env and the port on the DRONE_RPC_HOST