This article will show you how to deploy a satellite to reduce latency. It also covers how to view a list of your satellites and how to remove satellites.
To create a new satellite, you must update the Coder Helm chart to enable
satellite mode, deploy Coder, and register the new deployment using the Coder
Install the following dependencies if you haven't already:
You must be a Coder site manager and have authenticated with the Coder CLI.
The satellite deployment must be able to communicate with the primary Coder deployment via HTTPS.
First, make sure that you're connected to the cluster to which you want to deploy the satellite. Ideally, this deployment should be in the same geographical region as the developers' and their workspaces.
To see your current context, run:
kubectl config current-context
Confirm that your current kubectl context is correct before continuing; otherwise, connect to the right context.
The following steps are identical to those for deploying the primary Coder installation.
First, update your Helm chart to set the following required values:
coderd.satellite.enable- set to
coderd.satellite.primaryURL- set with the primary Coder deployment access URL
coderd.satellite.accessURL- set with the URL you want to use to access the satellite deployment
The following is a sample
values.yaml for a deployment with satellites, TLS,
and dev URLs enabled:
Once you've updated your Helm chart, install the satellite:
helm repo add coder https://helm.coder.com
helm repo update
helm upgrade coder-satellite coder/coder \
Once you've deployed the satellite, you need to register it to the primary Coder deployment. This process ensures that the primary deployment can trust requests originating from the satellite deployment.
Using the Coder CLI, run:
coder satellites create <NAME> <SATELLITE_ACCESS_URL>
This command will fetch the public key from satellite deployment and register it with Coder. If successful, the satellite deployment should be fully functional and reachable via the provided access URL.
You can list your satellite deployments using the Coder CLI:
coder satellites ls
You can remove your satellite deployments using the Coder CLI:
coder satellites rm <NAME_OF_SATELLITE>
After removing a registered satellite deployment via the Coder CLI, you should remove the deployment via Helm as well:
helm uninstall coder-satellite -n <NAMESPACE>