Skip to content
Install the CLI

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.

StabilityExperimental
package valuepackages.experimental.arc-runner-set
Default software version2.338.2

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.

DependencyRequirement
arcRequired
githubConfigSecretRequired
priorityClassOptional

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: { }

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:

    {
    runnerScaleSetName = "linux-x64";
    }

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:

    {
    digest = "sha256:6d0b2d80d80f143f77dcb676e50920100bbb547e39e883454d57f45ab8c31300";
    pullPolicy = "IfNotPresent";
    repository = "ghcr.io/actions/actions-runner";
    tag = "2.338.2";
    }

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 tag is the package’s tag, otherwise null

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

Who resolved this pin, for the record. Null when unknown.

  • Type: null or string
  • Default: null

imagePullPolicy for containers using this image. Null leaves it to Kubernetes.

  • Type: null or string
  • Default: "IfNotPresent"

Image repository, registry host included.

  • Type: string
  • Default: "ghcr.io/actions/actions-runner"

When this pin was resolved, RFC 3339. Null when unknown.

  • Type: null or string
  • Default: null

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. What was asked for.

  • Type: string
  • Default: "2.338.2"

Upper bound on runner pods. Upstream leaves it unbounded.

  • Type: unsigned integer, meaning >=0

Idle runners kept ready for new jobs.

  • Type: unsigned integer, meaning >=0
  • Default: 0

Requests and limits of the runner container. No defaults, because jobs vary; null fields are left out.

  • Type: submodule
  • Default: { }

Dynamic resource claims the container uses. Null leaves it unset.

  • Type: null or (list of (submodule))
  • Default: null

Name of an entry in the pod’s resourceClaims.

  • Type: string

Request within the claim to use. Null uses the whole claim.

  • Type: null or string
  • Default: null

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: { }

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

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

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

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: { }

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

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

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:

    [
    {
    apiGroups = [
    "kubevirt.io"
    ];
    resources = [
    "virtualmachines"
    ];
    verbs = [
    "create"
    "delete"
    "get"
    ];
    }
    ]

API groups, "" for the core group.

  • Type: list of string
  • Default: [ ]

Object names the rule is limited to. Null covers every object.

  • Type: null or (list of string)
  • Default: null

Resource names, such as pods.

  • Type: list of string
  • Default: [ ]

Verbs, such as get and create.

  • Type: list of string
  • Default: [ ]