Deploy runner with Kubernetes

Pre-requisites

  • A running Kubernetes cluster

  • Helm installed locally

  • Kubectl installed locally

Brainboard provides a Helm chart to deploy the runner in your existing Kubernetes cluster.

Please contact the support to get your customer token (CUSTOMER_TOKEN) to access to the charts

helm registry login ghcr.io --username brainboard --password $CUSTOMER_TOKEN

To see the charts values and documentation you can use the following commands:

helm show values oci://ghcr.io/brainboard/helm/brainboard-runner
helm show readme oci://ghcr.io/brainboard/helm/brainboard-runner

Installation

In order for the runner to enroll with your organization, you will need to provide the private self-hosted runner token you generated from the Brainboard settings page.

You can install the runner with the following command:

helm install runner oci://ghcr.io/brainboard/helm/brainboard-runner --set config.credentials.token="your-runner-token"

You can view all available configuration options using the commands above.

Register runner with your organization

Once your runner is started, you will need to register it with your organization. To do so, open a terminal inside the runner container (see below) and run the following command:

This operation only has to be done once, when the runner is started for the first time.

Usage

To open a terminal inside the runner container, use the following command:

If you want to see the logs, you can run this command:

Last updated

Was this helpful?