Updating a runner
For the best experience and performance, ensure that you always install the latest version of the runner. Blink runners are automatically updated by default. It is possible to disable auto-updating, and alternatively update runners manually using one of the following options described below.
Disabling auto-update of a runner
Auto-updating is enabled by default. To disable, do as follows:
- On the Blink platform, in the lower-left corner, click your initials > Account Settings > General.
- Deselect Enable runner auto upgrade. Runners will not be updated as new versions are available.
Option 1: Updating a runner manually
A runner can be updated manually from the Runners page. In the Version column, updated runners name and version appear in white, and runners that need to be updated have a warning sign next to their version.
To update a runner manually, go to the Blink Runners page. In the Version column, the name and version of up-to-date runners appear in white, and runners that need to be updated appear in yellow.
- Next to the runner that needs to be updated, click > Update.
- To see the status of the runner, click > Edit. As the runner is being updated, the status will change from Connected to Shutting down, and back to Connected.
Option 2: Manual update via CloudFormation
To update a runner via CloudFormation stack configuration, assuming you have a runner that was deployed via CloudFormation, follow these instructions:
- Open the deployed CloudFormation stack via the AWS console.
- In the RunnerVersion parameter, update the value to the new runner version.
- Redeploy the CloudFormation stack.
Option 3: Updating a runner via CLI
Kubernetes manual update via CLI
To update a runner via the CLI in the Helm client, use the following command:
helm repo add blink [https://charts.dev.blinkops.com/](https://charts.dev.blinkops.com/) &&\
helm repo update &&\
helm upgrade -n blink --reuse-values --set image.tag=<version> blink-runner blink/blink-runner
Docker manual update via CLI
To update a runner via the CLI in the Docker client, use the following command:
docker kill -signal "SIGINT" && docker rm -f blink-runner && \
docker run -d --name blink-runner -e CTRL_URL=https://app.blinkops.com -e BLINK_RUNNER_CONFIG=/blink/config.yml \
--restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock \
--add-host "host.docker.internal:host-gateway" \
blinkops/blink-runner:<version> ./blink-runner -auth <apikey>