feat: RunnerSet backed by StatefulSet by mumoshu · Pull Request #629 · actions/actions-runner-controller

@mumoshu

Unlike a runner deployment, a runner set can manage a set of stateful runners by combining a statefulset and an admission webhook that mutates statefulset-managed pods with required envvars and registration tokens.

Resolves #613
Ref #612

@mumoshu mumoshu changed the title WIP: feat: RunnerSet backed by StatefulSet feat: RunnerSet backed by StatefulSet

Jun 13, 2021

@mumoshu

@mumoshu

@mumoshu

@mumoshu

…r-controller got failed after the mutating webhook has been registered

@mumoshu

…DOCKER_HOST and DOCKER_TLS_VERIFY envvars when dockerdWithinRunner=false
…changes when there were no changes in runnerset spec

callum-tait-pbx

callum-tait-pbx

mumoshu added a commit that referenced this pull request

Jun 22, 2021

@mumoshu

mumoshu added a commit that referenced this pull request

Jun 23, 2021

mumoshu added a commit that referenced this pull request

Jun 23, 2021
`HRA.Spec.ScaleTargetRef.Kind` is added to denote that the scale-target is a RunnerSet.

It defaults to `RunnerDeployment` for backward compatibility.

```
apiVersion: actions.summerwind.dev/v1alpha1
kind: HorizontalRunnerAutoscaler
metadata:
  name: myhra
spec:
  scaleTargetRef:
    kind: RunnerSet
    name: myrunnerset
```

Ref #629
Ref #613
Ref #612

mumoshu added a commit that referenced this pull request

Jun 24, 2021

mumoshu added a commit that referenced this pull request

Jun 24, 2021

mumoshu added a commit that referenced this pull request

Jun 25, 2021

mumoshu added a commit that referenced this pull request

Jun 25, 2021

mumoshu added a commit that referenced this pull request

Aug 16, 2021

mumoshu added a commit that referenced this pull request

Aug 17, 2021

mumoshu added a commit that referenced this pull request

Aug 25, 2021