Open
Description
Once in a while the created instance on Hetzner does not get destroyed. This results in a big bill from Hetzner because the server is still running.
Can it be that the autoscaler forgets that some servers exist when the autoscaler gets restarted, or the git server gets restarted?
This is our config:
drone-autoscaler:
image: drone/autoscaler:1.8.2
restart: unless-stopped
volumes:
- drone_autoscaler_data:/data
environment:
- DRONE_POOL_MIN=0
- DRONE_POOL_MAX=4
- DRONE_POOL_MIN_AGE=1h
- DRONE_CAPACITY_BUFFER=0
- DRONE_AGENT_CONCURRENCY=5
- DRONE_SERVER_PROTO=https
- DRONE_SERVER_HOST=REDACTED
- DRONE_SERVER_TOKEN=${DRONE_SERVER_TOKEN}
- DRONE_AGENT_TOKEN=${DRONE_RPC_SECRET}
- DRONE_HETZNERCLOUD_DATACENTER=${DRONE_HETZNERCLOUD_DATACENTER}
- DRONE_HETZNERCLOUD_IMAGE=ubuntu-20.04
- DRONE_HETZNERCLOUD_TYPE=cx51
- DRONE_HETZNERCLOUD_SSHKEY=${DRONE_HETZNERCLOUD_SSHKEY}
- DRONE_HETZNERCLOUD_TOKEN=${DRONE_HETZNERCLOUD_TOKEN}
- DRONE_INTERVAL=10s
- DRONE_LOGS_DEBUG=false
Metadata
Metadata
Assignees
Labels
No labels
Activity