GPU memory profiling
Profile your container under the expected concurrent session count:maxSessions configuration.
Graceful shutdown
The Orchestrator sendsSIGTERM when stopping a container. Handle it:
SIGTERM is killed after a timeout (default 10 seconds). Active sessions receive no graceful close and may produce incomplete output.
Health check under load
The/health endpoint must return {"status": "ok"} even under full GPU load. If health checks fail, the Orchestrator stops advertising the capability and Gateways route elsewhere.
Common failure: the health check handler shares the GPU inference thread and blocks during heavy processing. Run health checks on a separate thread or async task.
Monitoring
Expose Prometheus metrics from your container for the Orchestrator’s monitoring stack:
The Orchestrator’s Prometheus scraper picks up metrics from containers on the same Docker network.
The BYOC architecture covers the container interface. The production checklist covers Gateway-side production requirements.