Skip to main content
Skip to content

运行器规模集

了解什么是运行器规模集,以及如何与 Actions Runner Controller 进行交互。

关于运行器规模集

运行器扩展集是一组可从 GitHub Actions 中分配作业的同构运行器。 runner 缩放集拥有的活动 runner 数可由自动缩放 runner 解决方案(如 Actions Runner Controller (ARC))控制。

可使用运行器组来管理运行器规模集。 与自承载运行器类似,可将运行器规模集添加到现有运行器组。 但是,runner 规模集一次只能属于一个 runner 组。 runner 扩展集可以有多个标签,工作流可以在 runs-on 中按其名称或标签将其作为目标。 Actions Runner Controller 0.14.0 中添加了对多个标签的支持。

要将作业分配给运行器规模集,必须将工作流配置为引用运行器规模集的名称。 有关详细信息,请参阅“在工作流中使用 Actions Runner Controller 运行器”。

部分内容改编自 Apache-2.0 许可证下的 https://github.com/actions/actions-runner-controller/ :

Copyright 2019 Moto Ishizawa

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

后续步骤