gha-runner-scale-set 中的 scaleSetLabels 未在 GitHub 运行程序中反映

作者: shan100github创建于 2026年7月23日更新于 2026年9月9日
标签bugneeds triagegha-runner-scale-set

I am trying to migrate from existing RunnerDeployment using actions.summerwind.dev/v1alpha1 to gha-runner-scale-set. In RunnerDeployment, I have specified labels

apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
  name: gh-action-ubuntu
  namespace: gh-action-runner
spec:
  replicas: 1
     ....
      labels:
      - ubuntu24

I have specified scaleSetLabels: [ubuntu24] along with runnerScaleSetName: ubuntu-scale-set as override values for gha-runner-scale-set, corresponding runners runner-scale-sets are created in GitHub and only runnerScaleSetName set as labels and labels passed to scaleSetLabels are ignored.

内容来源: actions/actions-runner-controller