Skip to main content

Install on your GPU cluster

This page follows the path qualified on a real cluster on 27 Nov 2026: Amazon EKS 1.36 with one NVIDIA A10G, in the order a platform team does it. Each command is the one that ran there, or its CLI form where the test called the API. What differs on your cluster is yours to check; see Known limits and the record.

Before you start

  • Kubernetes with NVIDIA GPU nodes: driver 580 or newer (the vLLM 0.34.0 image is built for CUDA 13), NVIDIA’s device plugin, and GPU feature discovery, so nodes carry nvidia.com/gpu and the nvidia.com/gpu.product label. InferCrane installs neither.
  • A network plugin that enforces NetworkPolicy (on EKS: the VPC CNI with enableNetworkPolicy: "true"). Without one, the engines’ policies are stored and do nothing.
  • About 100 GB of disk on each GPU node: the vLLM image is about 30 GB unpacked, plus weights.
  • Egress to Hugging Face and Docker Hub. Nothing inbound.
  • Every key and password below is written without a trailing newline (printf '%s', never echo or openssl … > file): a newline breaks the database login and every bearer token.

Two ways to run it

Deploy, the gateway, and runs that replay your recorded traffic need the control plane inside the cluster: it reaches a replica by its Service’s cluster DNS name. A run on an agent’s endpoint measures a synthetic load profile, and starts plain servers only.

Agent only

Use the chart from a release that sets its image tag to v<version>; with the 2.0.2 chart add --set image.tag=v2.0.2. Within a minute infercrane endpoint list shows support-bot. If the agent finds your server but never registers it, read the agent pod’s log: it writes one unhealthy line that names the server and why its health probe (GET /v1/models) failed, for example HTTP 401 when the server’s key is missing or wrong. When the probe passes, the agent registers the server and writes a healthy line.

Control plane in your cluster

  1. Apply the bootstrap in Kubernetes: the namespace, service accounts, and the namespaced Role.
  2. Create the control plane’s Secret: its API key, the PostgreSQL password, and the two keys for stored credentials that infercrane connect --token-env needs, each at least 32 random bytes:
  3. Run PostgreSQL and infercrane serve in infercrane-system with the environment of Configure the control plane plus INFERCRANE_API_KEY, INFERCRANE_CREDENTIAL_ENCRYPTION_KEY, and INFERCRANE_WORKER_CREDENTIAL_KEY from that Secret. There is no Helm chart for the control plane yet; tools/eks-agent-run/manifests/hosted.yaml is the manifest the qualification ran.
  4. Check it from inside the cluster. With the operator key in its environment, the CLI needs the control plane’s own address and refuses to run without one. In its pod, use the Service name its certificate carries: INFERCRANE_URL=https://infercrane.infercrane-system.svc:8443 SSL_CERT_FILE=/tls/tls.crt infercrane doctor --kubernetes.

Deploy and serve

On a 24 GB GPU, the engine needs a context length it can hold. InferCrane sets one for reviewed catalog models such as Qwen/Qwen3-8B, and for other models when the control plane can read model metadata. Otherwise pass --max-model-len 8192 (details):
If a deploy never becomes ready, infercrane delete qwen-kubernetes --yes cancels it and removes what it started.

Migrate an endpoint with a 5% canary

On the NVIDIA A10G with vLLM 0.34.0 the planner proposes the qualified Kubernetes setup directly. On any other GPU add --include-simulated, because the catalog marks that pair as simulated (the run still measures every setup). The setups are plain Kubernetes ones: a kubernetes-dynamo setup needs NVIDIA Dynamo, and InferCrane proposes one only when it knows Dynamo runs in the cluster (how). Grade a set the way your model answers: a model that explains its answer (“32 + 30 = 62.”) scores 0 under exact_match; use answer_line.

Remove it

In this order; the last command removes what the chart keeps on purpose.
On the qualified cluster nothing of InferCrane was left after this, namespaced or cluster-wide.