Ability to select runner region in multi‑region high‑availability setup

オープン
#4,385 コメント 0 件 リアクション 4 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions, go, kubernetes

調査の方向性

まず、リンクされている actions-runner-controller の issue #4283 と、リポジトリに既存のマルチリージョン高可用性および runner-label の動作を確認します。ワークフローがリージョンを指定できる、または runner がリージョン固有のラベルを受け取れる、サポート対象の方法を定義し、その方法によって HA に必要な共有 scale set 名が維持されることを検証します。

索引モデルが issue の本文から書いたものです。

説明

community enhancement needs triage
What would you like added?

We would like a way to select or target the region of a self‑hosted runner when using a multi‑region high‑availability setup (as described in https://github.com/actions/actions-runner-controller/issues/4283).

Currently, runners across regions share the same scale set name for HA purposes, and we don’t have a method to apply additional labels that would differentiate runners by region. A mechanism to specify runner region in workflow configuration - or a supported pattern to assign region-specific labels - would allow us to direct certain workflows to a specific region when necessary.

Why is this needed?

Although most of our workflows perform equally well regardless of runner region, there are a few specific cases where the execution region has a measurable impact.

We explored using scale set names or custom labels, but the HA design requires identical scale set names across regions, and we do not currently have a supported way to apply region‑unique labels. As a result, there is no current method for our workflows to choose the region of the underlying runner.

Additional context

We have successfully implemented multi‑region runner high availability and it works extremely well. The only missing capability is region targeting for a subset of specialized workflows.

Any guidance or recommended patterns would be greatly appreciated.

主要言語
Go
スター
6.7k
フォーク
1.5k
平均マージ
1時間 34分
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

actions/actions-runner-controller のほかの issue

actions/actions-runner-controller の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。