Installation
downlink has two parts: the operator that runs in your Kubernetes cluster, and the synthetics package you add to your test project.
Prerequisites
Section titled “Prerequisites”- Kubernetes cluster (1.26+)
kubectlconfigured for your cluster- Node.js 18+
Install the operator
Section titled “Install the operator”-
Apply the operator manifests
Terminal window kubectl apply -f https://github.com/downlinklabs/downlink/releases/latest/download/operator.yaml -
Verify the operator is running
Terminal window kubectl get pods -n downlink-systemYou should see the operator pod in a
Runningstate.
Install the synthetics package
Section titled “Install the synthetics package”Add @downlink/synthetics to your test project:
bash npm install @downlink/synthetics bash pnpm add @downlink/synthetics bash yarn add @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:
echo "@downlink:registry=https://npm.pkg.github.com" >> .npmrcNext steps
Section titled “Next steps”Once installed, follow the Quick Start guide to write and run your first synthetic test.