Skip to content
Crow CI

Autoscaler

Autoscaler configuration variables.

  • Name: CROW_LOG_LEVEL
  • Description: default log level
  • Default: info

  • Name: CROW_RECONCILIATION_INTERVAL
  • Description: interval at which the autoscaler will reconsider a scale up/down
  • Default: 1m

  • Name: CROW_POOL_ID
  • Description: id of the autoscaler pool
  • Default: 1

  • Name: CROW_AGENT_INACTIVITY_TIMEOUT
  • Description: time an agent is allowed to be inactive before it can be terminated as duration string like 2h45m
  • Default: 10m
  • Synonyms:
    • CROW_AGENT_ALLOWED_STARTUP_TIME
    • CROW_AGENT_SERVER_CONNECTION_TIMEOUT

  • Name: CROW_AGENT_IDLE_TIMEOUT
  • Description: time an agent is allowed to be idle before it can be terminated as duration string like 2h45m
  • Default: 10m

  • Name: CROW_FILTER_LABELS
  • Description: only count queued tasks matching this label toward scaling decisions. Format: key=value. Required when running multiple autoscalers to prevent each autoscaler from scaling for tasks meant for another.
  • Default: none (all pending tasks are counted)
  • Synonyms:
    • WOODPECKER_FILTER_LABELS

  • Name: CROW_AGENT_IMAGE
  • Description: container image used for spawned agents. When not set, the autoscaler automatically uses the agent image matching the Crow server version (e.g. codefloe.com/crowci/crow-agent:<version>).
  • Default: auto-detected from server version
  • Synonyms:
    • WOODPECKER_AGENT_IMAGE

  • Name: CROW_PLUGINS_PRIVILEGED
  • Description: List of plugin images allowed to run in privileged mode. Matching is controlled by CROW_PLUGINS_PRIVILEGED_MATCH_TYPE.
  • Default: none

  • Name: CROW_PLUGINS_PRIVILEGED_MATCH_TYPE
  • Description: Type of match for privileged plugins. Possible values are semver, semver-range, regex, or exact. Controls how entries in CROW_PLUGINS_PRIVILEGED are matched against plugin images.
  • Default: semver