Choose a cluster for the environment
A cluster is the routing boundary for jobs and runners. Jobs submitted to a cluster can only be claimed by runners connected to the same cluster. Use separate clusters for environments that should not run the same code by accident, such as development and production-like compute.Deploy a release to the cluster
Deploy a published workflow release to the cluster or to a target defined intilebox.workflow.toml.
Start release runners where the work should run
Start one or more release runners in the environment that has the required network access, credentials, hardware, and data access.Run the official runner container
Tilebox publishes a ready-to-run release runner atghcr.io/tilebox/runner for Linux amd64 and arm64. The image starts tilebox runner start by default and includes the Tilebox CLI, uv, Python 3.12 through 3.14, Git, Git LFS, and build dependencies for common scientific and geospatial Python packages. Workflow code arrives through the releases deployed to the selected cluster, so you do not rebuild the image when a workflow changes.
Export an API key, then start the runner for your cluster.
TILEBOX_API_KEY is required. TILEBOX_CLUSTER is optional; when omitted, the runner uses your default cluster. Provide credentials through your deployment system instead of including them in the image.
Use the official image directly when its runtime matches your workflow. Build a custom image from it when your code needs more operating system packages. The image does not include the NVIDIA CUDA toolkit, so CUDA extensions require a version-matched NVIDIA development image and GPU runtime.
Deploy the runner on Kubernetes
Run the image as a KubernetesDeployment so the platform restarts the runner and lets you scale the number of processes. Store the API key in a Secret.
runner-deployment.yaml.
runner-deployment.yaml
TILEBOX_API_KEY with the platform’s secret manager and set TILEBOX_CLUSTER in the container environment.
For a job-based container service that expects the process to exit, such as Cloud Run jobs, replace the default command with tilebox runner start --stop-when-idling. The runner processes available work, then exits when it becomes idle.
Scale runner processes
Scale the number of runner containers or virtual machine instances when you want more parallelism. In Kubernetes, increase theDeployment replica count. In GCP or AWS, use the scaling controls of the service that runs the container, such as GKE, ECS, EKS, or an auto-scaling VM group. Each runner process connects to the same cluster and claims compatible tasks independently.
As an alternative for local testing or constrained environments, use -n to run multiple independent release runners inside one CLI process.
Verify cluster alignment
If a job stays queued, check that these three values match:- The job was submitted to the expected cluster.
- The workflow release is deployed to that cluster.
- A release runner is running for that cluster.