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

Đang mở
#4,385 0 bình luận 4 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github-actions, go, kubernetes
Lĩnh vực
ci-cd, devops, infrastructure

Hướng nghiên cứu

Bắt đầu bằng cách đọc issue #4283 được liên kết của actions-runner-controller và hành vi hiện có của repository về tính sẵn sàng cao đa vùng cũng như nhãn của runner. Xác định một cách được hỗ trợ để workflow nhắm đến một vùng hoặc để runner nhận các nhãn dành riêng cho vùng, sau đó xác minh rằng cách tiếp cận này vẫn giữ nguyên tên scale set dùng chung cần thiết cho HA.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Go
Star
6.7k
Fork
1.5k
Merge trung bình
1 giờ 34 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của actions/actions-runner-controller

Tất cả issue của actions/actions-runner-controller

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.