A few questions for the REST API.
REST API queries
We explored the Rest API for pending builds, but would need to know about the number of all pending or running stages in the while drone server and per drone agent.
CORDONING a Drone agent
Similar like in Kubernetes, we would need to cordon an agent gracefully before we remove it (e. g. any pending builds finish gracefully and no incoming jobs are picked up). Ideally this would be a REST API call to set a node cordoned.