Hi @csgit
Thanks for your answer!
Yes, I try to scale servers by labels. In pipeline definition I added
node:
somelabel: somelabelvalue
And on autoscaler configuration I have environment variable
DRONE_AGENT_LABELS=somelabel:somelabelvalue
So I believe that autoscaler should schedules only servers for pipelines with that label.
When I create server manually all labels passed to RUNNER correctly.
Actually I just need an amd64 and arm64 builds. I use 2 autoscalers with different runner configuration (instance type, image, min, max). Both autoscalers connected to the single drone server.
The problem is when I am trying to use labels, it ignores pipelines with that labels (and ignores all pipelines as well).
I am curious why do we need parameter DRONE_AGENT_LABELS at all?