System requirements
The gateway ships as a single container image (python:3.12-slim base) that runs as a non-root user. It is light; most of the sizing decision is about how much cache you want to hold locally.
| Requirement | Specification |
|---|---|
| Runtime | Docker Engine 20.10+, rootful Podman 4+ with netavark, MicroShift 4.16+ on RHEL 9.6, or Kubernetes v1.24+ with Helm v3. See installation for prerequisites for each option. |
| Image | python:3.12-slim base, runs as non-root (UID 1000) |
| Memory | 256 MB request, 1 to 2 GB typical under fleet load |
| Cache storage | S3 bucket (recommended for stateless pods) or local disk (CACHE_MAX_SIZE_GB, default 50) |
| Listening port | 8443, plain HTTP by default. Host and service ports can differ from the container port. Terminate TLS at an Ingress, load balancer, or reverse proxy, or set both TLS_CERT_FILE and TLS_KEY_FILE for HTTPS on PORT. See TLS and certificates. |
| Outbound access | Allow outbound HTTPS on port 443 to api.roboflow.com and repo.roboflow.com. Add hosts for the capabilities you use: serverless.roboflow.com for hosted inference, storage.googleapis.com for storage downloads, and your specific *.roboflow.cloud hosts for dedicated deployments. If you use an S3 cache, also allow access to its configured storage endpoint. |
Sizing note. With an S3 cache the local disk footprint is negligible and pods stay stateless. With a disk cache, plan for your hot set plus headroom. The default cap is 50 GB (CACHE_MAX_SIZE_GB) and the gateway always keeps CACHE_FREE_DISK_BUFFER_GB free. Container images and model weights are the largest items.