Skip to main content

Cluster and databases

A production deployment runs on an HA cluster:
  • Kubernetes: 3 masters (control plane and etcd) and 3 workers, spread across different physical hosts.
  • Virtual IPs: a Kubernetes API VIP across the masters and an application (ingress) VIP across the workers.
  • Databases: 3 database servers running PostgreSQL and Kafka in HA, plus Redis (Couchbase) with replication between them.
  • Backups: database backups to at least 2 TB of NFS or S3-compatible storage outside the database servers.
See Requirements for server sizes and ports.

GPU load balancing

Requests to the guard models are routed by HAProxy (least-connections) to the GPU server with the fewest active connections, so no single GPU server is overloaded.

Active-active model serving across sites

For multi-site deployments, the vLLM model-serving tier uses two active sites and a passive disaster-recovery site, behind a global load balancer (GSLB) that runs health checks and failover routing.
  • DC1 and DC2 run active-active and share production traffic 50/50.
  • The DRC site takes no traffic normally and comes online only on a disaster or the loss of a site.
  • Every site runs vLLM model serving only, with stateless request handling and a local model cache.
  • Model artifacts are preloaded at every site, including the DRC, so failover is fast.

Failure behaviour

Each module can be set to fail open or fail closed. For model outages, see Secondary Model Routing.

GPU & Performance

GPU throughput and sizing by number of clients.

Requirements

Production servers, VIPs and ports.