Unfortunately the agent logs aren’t particularly useful here.
The last thing that it reports is that the last pipeline it ran completed.
{"time":"2018-03-20T16:49:09Z","level":"debug","repo":"rune/rune","build":"94","id":"614","error":"","exit_code":1,"message":"pipeline complete"}
{"time":"2018-03-20T16:49:09Z","level":"debug","repo":"rune/rune","build":"94","id":"614","message":"uploading logs"}
{"time":"2018-03-20T16:49:09Z","level":"debug","repo":"rune/rune","build":"94","id":"614","message":"uploading logs complete"}
{"time":"2018-03-20T16:49:09Z","level":"debug","repo":"rune/rune","build":"94","id":"614","error":"","exit_code":1,"message":"updating pipeline status"}
{"time":"2018-03-20T16:49:09Z","level":"debug","repo":"rune/rune","build":"94","id":"614","message":"stop listening for cancel signal"}
{"time":"2018-03-20T16:49:10Z","level":"debug","repo":"rune/rune","build":"94","id":"614","message":"updating pipeline status complete"}
{"time":"2018-03-20T16:49:10Z","level":"debug","message":"request next execution"}
{"time":"2018-03-20T16:49:10Z","level":"debug","repo":"rune/rune","build":"94","id":"614","message":"pipeline done"}
This sounds like you have a load balancer, proxy or network device sitting between the agent and the server that is breaking the network connection without properly signaling a close
So this could be the case. And I imagine in most use cases on GCE, this will be the case.
In my setup specifically, I have Drone Server and Drone Autoscaler on Kubernetes, and I have Drone Server’s gRPC exposed via. serviceType: NodePort
, so the only thing in between the agent and the server is whatever Kubernetes uses to map nodePorts
to pods, so it’s probably way less than having an nginx proxy or something.
Also are you planning on purchase an enterprise license or support?
We definitely will; our organization pretty small. To be honest, I’m mostly trying to get a lot of this on Kubernetes just for sport. I’d like to update your Drone helm chart at some point to include the Autoscaler when I get it totally figured out. 
Drone is a fantastic use case for Kubernetes.