Reference / experimental
arc-runner-set
These docs describe Kix's main branch, which can include changes not yet released. Read the docs for the latest release.
One GitHub Actions runner scale set (an AutoscalingRunnerSet) for the arc controller
This page is generated from kix/packages/experimental/arc-runner-set.
| Stability | Experimental |
package value | packages.experimental.arc-runner-set |
| Default software version | 2.338.2 |
Dependencies
Section titled “Dependencies”Kix matches each dependency below to another package instance by instance name, alias, or role. To bind a specific instance, set deps.<name> in your cluster definition. See Declaring dependencies for how required and optional dependencies work.
| Dependency | Requirement |
|---|---|
arc | Required |
githubConfigSecret | Required |
priorityClass | Optional |
Options
Section titled “Options”Extra environment variables. A value is a string, a fieldRef source such as { valueFrom.fieldRef.fieldPath = "metadata.name"; }, or a secretKeyRef source naming a Secret managed outside Kix with kix.untrackedRef. A credential that comes from a dependency is wired by the package. Null removes a variable the package sets by default.
- Type:
attribute set of (null or string or env var source with `valueFrom`) - Default:
{ }
extraSpec
Section titled “extraSpec”Merged over the AutoscalingRunnerSet spec the package builds.
githubConfigUrl, githubConfigSecret, minRunners, maxRunners,
and template.spec.{serviceAccountName,automountServiceAccountToken,priorityClassName}
are refused. Entries of template.spec.containers are matched by
name: the runner entry is merged over the package’s runner
container (except image, env, and resources, which have
options), and other entries are added as further containers.
-
Type:
attribute set of anything -
Default:
{ } -
Example:
1{2runnerScaleSetName = "linux-x64";3}
githubConfigUrl
Section titled “githubConfigUrl”URL of the organization, repository (<org>/<repo>), or enterprise (enterprises/<name>) the runners register with.
- Type:
string - Example:
"https://github.com/example-org"
Image of the runner container. The controller turns off the runner’s self-update, and GitHub stops sending jobs to a runner more than 30 days behind the latest runner release, so keep the tag current. A runner set whose phase is Outdated has hit that limit.
-
Type:
submodule -
Default:
1{2digest = "sha256:6d0b2d80d80f143f77dcb676e50920100bbb547e39e883454d57f45ab8c31300";3pullPolicy = "IfNotPresent";4repository = "ghcr.io/actions/actions-runner";5tag = "2.338.2";6}
image.digest
Section titled “image.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
image.note
Section titled “image.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
image.promotedBy
Section titled “image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
image.pullPolicy
Section titled “image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
image.repository
Section titled “image.repository”Image repository, registry host included.
- Type:
string - Default:
"ghcr.io/actions/actions-runner"
image.resolvedAt
Section titled “image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
image.sourceRev
Section titled “image.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
image.tag
Section titled “image.tag”Image tag. What was asked for.
- Type:
string - Default:
"2.338.2"
maxRunners
Section titled “maxRunners”Upper bound on runner pods. Upstream leaves it unbounded.
- Type:
unsigned integer, meaning >=0
minRunners
Section titled “minRunners”Idle runners kept ready for new jobs.
- Type:
unsigned integer, meaning >=0 - Default:
0
resources
Section titled “resources”Requests and limits of the runner container. No defaults, because jobs vary; null fields are left out.
- Type:
submodule - Default:
{ }
resources.claims
Section titled “resources.claims”Dynamic resource claims the container uses. Null leaves it unset.
- Type:
null or (list of (submodule)) - Default:
null
resources.claims.*.name
Section titled “resources.claims.*.name”Name of an entry in the pod’s resourceClaims.
- Type:
string
resources.claims.*.request
Section titled “resources.claims.*.request”Request within the claim to use. Null uses the whole claim.
- Type:
null or string - Default:
null
resources.limits
Section titled “resources.limits”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
resources.limits.cpu
Section titled “resources.limits.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
resources.limits.ephemeral-storage
Section titled “resources.limits.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
resources.limits.memory
Section titled “resources.limits.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
resources.requests
Section titled “resources.requests”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
resources.requests.cpu
Section titled “resources.requests.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
resources.requests.ephemeral-storage
Section titled “resources.requests.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
resources.requests.memory
Section titled “resources.requests.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
Role rules in this namespace for the runner pods’ ServiceAccount. With none, the runner pods get no API token.
-
Type:
list of (submodule) -
Default:
[ ] -
Example:
1[2{3apiGroups = [4"kubevirt.io"5];6resources = [7"virtualmachines"8];9verbs = [10"create"11"delete"12"get"13];14}15]
rules.*.apiGroups
Section titled “rules.*.apiGroups”API groups, "" for the core group.
- Type:
list of string - Default:
[ ]
rules.*.resourceNames
Section titled “rules.*.resourceNames”Object names the rule is limited to. Null covers every object.
- Type:
null or (list of string) - Default:
null
rules.*.resources
Section titled “rules.*.resources”Resource names, such as pods.
- Type:
list of string - Default:
[ ]
rules.*.verbs
Section titled “rules.*.verbs”Verbs, such as get and create.
- Type:
list of string - Default:
[ ]