Deploy
In this sectionPackage a 10xGraph server with Docker or Kubernetes, and set graceful shutdown and ID generators for running several replicas.
- 4 pages
- About 34 min to read all
Deploy covers packaging a 10xGraph server as a container and running it safely: generating Docker and Compose files, generating Kubernetes manifests, shutting down without cutting agent runs short, and choosing ID generators when several replicas run.
- Docker and Compose: Generate a Dockerfile, docker-compose.yml and Kubernetes manifest with 10xgraph build, then ship them with a production environment checklist.
- Kubernetes: Generate a Kubernetes Deployment and Service with 10xgraph build –k8s, tuned for long-running agent operations.
- Graceful shutdown: Handle agent shutdown cleanly with signal handlers, timeout coordination, and protected cleanup sections.
- ID generators for many replicas: Control the format of thread IDs and run IDs using built-in or custom generators to match your storage backend and observability requirements.
All pages in Deploy
- Deploy with Docker and KubernetesGenerate a Dockerfile, docker-compose.yml and Kubernetes manifest with 10xgraph build, then ship them with a production environment checklist.10 min
- Deploy on KubernetesGenerate a Kubernetes Deployment and Service with 10xgraph build --k8s, tuned for long-running agent operations.9 min
- Graceful shutdownHandle agent shutdown cleanly with signal handlers, timeout coordination, and protected cleanup sections.9 min
- Configure ID generatorsControl the format of thread IDs and run IDs using built-in or custom generators to match your storage backend and observability requirements.6 min