Skip to content

Installation

downlink has two parts: the operator that runs in your Kubernetes cluster, and the synthetics package you add to your test project.

  • Kubernetes cluster (1.26+)
  • kubectl configured for your cluster
  • Node.js 18+
  1. Apply the operator manifests

    Terminal window
    kubectl apply -f https://github.com/downlinklabs/downlink/releases/latest/download/operator.yaml
  2. Verify the operator is running

    Terminal window
    kubectl get pods -n downlink-system

    You should see the operator pod in a Running state.

Add @downlink/synthetics to your test project:

bash npm install @downlink/synthetics

The package is published to the GitHub Package Registry under @downlink/synthetics. If you haven’t already, configure npm to resolve @downlink packages from GitHub:

Terminal window
echo "@downlink:registry=https://npm.pkg.github.com" >> .npmrc

Once installed, follow the Quick Start guide to write and run your first synthetic test.