Runner Autoscaler - CI/CD用語集の定義
runner autoscalerはjobキューを監視し、runnerのフリートを自動でスケールアップ・ダウンします。これにより需要にほぼ比例した分だけキャパシティに支払うことになります。
runner autoscalerとは、需要に応じてCIのrunnerを追加または削除するコントローラーで、たとえばjobがキューに入るとrunnerを作成し、アイドルなrunnerを破棄してコストを節約します。
actions-runner-controller (ARC)やマネージドプラットフォームなどのautoscalerは、常時起動のrunnerを固定プールで維持する必要をなくします。
スケーリングのシグナル
ほとんどのautoscalerはキュー内のjob数やwebhookイベントに基づいてスケールし、jobがバーストで到着したときのthrashingを避けるため、スケールインの前にcooldownを適用します。
CIでの位置づけ
良いautoscalingは2つのコストのバランスを取ります。アイドルなrunnerは費用を無駄にしますが、ゼロからのスケールはバーストの最初のjobにcold-startのレイテンシを加えます。warm poolは少しのコストと引き換えに低いレイテンシを得ます。
関連ガイド
Scale-In Cooldown - CI/CD Glossary DefinitionScale-In Cooldown: A scale-in cooldown is a waiting period an autoscaler enforces after scaling before it rem…
Warm Standby Runner - CI/CD Glossary DefinitionWarm Standby Runner: A warm standby runner is a runner kept booted and ready (often with dependencies or a ba…
Runner Queue Depth - CI/CD Glossary DefinitionRunner Queue Depth: Runner queue depth is the number of jobs waiting for a free runner at a given moment; a p…