mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 19:50:30 +00:00
Allow to set docker default address pool (#1971)
* Allow to set docker default address pool * fixup! Allow to set docker default address pool Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Revert unnecessary chart ver bump * Update docs for DOCKER_DEFAULT_ADDRESS_POOL_* * Fix the dockerd default address pool scripts to actually work as probably intended * Update the E2E testdata runnerdeployment to accomodate the new docker default addr pool options * Correct default dockerd addr pool doc Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> Co-authored-by: Claudio Vellage <claudio.vellage@pm.me> Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
@@ -1582,6 +1582,28 @@ spec:
|
||||
value: "true"
|
||||
```
|
||||
|
||||
There are a few advanced envvars also that are available only for dind runners:
|
||||
|
||||
```yaml
|
||||
apiVersion: actions.summerwind.dev/v1alpha1
|
||||
kind: RunnerDeployment
|
||||
metadata:
|
||||
name: example-runnerdeployment
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
dockerdWithinRunnerContainer: true
|
||||
image: summerwind/actions-runner-dind
|
||||
env:
|
||||
# Sets the respective default-address-pools fields within dockerd daemon.json
|
||||
# See https://github.com/actions-runner-controller/actions-runner-controller/pull/1971 for more information.
|
||||
# Also see https://github.com/docker/docs/issues/8663 for the default base/size values in dockerd.
|
||||
- name: DOCKER_DEFAULT_ADDRESS_POOL_BASE
|
||||
value: "172.17.0.0/12"
|
||||
- name: DOCKER_DEFAULT_ADDRESS_POOL_SIZE
|
||||
value: "24"
|
||||
```
|
||||
|
||||
### Using IRSA (IAM Roles for Service Accounts) in EKS
|
||||
|
||||
> This feature requires controller version => [v0.15.0](https://github.com/actions-runner-controller/actions-runner-controller/releases/tag/v0.15.0)
|
||||
|
||||
Reference in New Issue
Block a user