← All insights
Sovereign AI · vLLM

Production vLLM on Kubernetes: a sovereign deployment pattern

Serving is easy. Operating it as an enterprise service — with no arbitrary egress — is the engineering work.

Abstract

Starting a model server is easy; operating it as an enterprise service is the engineering work. This article gives a reference architecture for vLLM on Kubernetes without arbitrary egress: GPU workers, an internal gateway, default-deny networking, monitoring, model rollouts treated like software releases, and spare capacity without public-cloud burst. It connects those practices to research on container orchestration, LLM serving and production readiness.

Keywords vLLM · Kubernetes · model serving · egress control · monitoring · rollouts

Contents

01

Introduction

Running vllm serve is easy. Operating it as an enterprise service is the real engineering work.

A production vLLM deployment needs model lifecycle controls, authentication, observability, safe rollout, capacity management and failure handling. In a sovereign environment, it also needs explicit control over egress, model storage and privileged access.

02

Background and related work

Kubernetes carries design lessons from more than ten years of managing containers at scale at Google across three successive systems[1]; running model servers as ordinary, declaratively managed workloads is the reason to use it here. The serving layer itself comes from systems research: vLLM's PagedAttention manages the key-value cache like virtual memory and reports 2–4× higher throughput than earlier systems at the same latency[2]. For the network, a default-deny posture starts from the zero-trust architecture defined by NIST[3].

Research on ML operations adds two cautions. ML systems accumulate hidden technical debt beyond the model code[4], and production readiness is better judged against an explicit rubric of tests and monitoring than by a successful demo[5]. The rollout and monitoring practices below apply those ideas to model serving.

03

Reference architecture

A practical pattern contains five layers:

  1. GPU worker layer — vLLM pods or workloads on dedicated accelerator nodes.
  2. Internal gateway — authentication, rate limits, request policy, streaming and model routing.
  3. Model storage — object storage or persistent volumes controlled by the organisation.
  4. Observability — vLLM metrics, gateway traces, application logs and alerting.
  5. Control plane — Kubernetes scheduling, secrets, rollout strategy and infrastructure policy.

The inference pods should not need arbitrary internet access to answer a request.

04

Kubernetes deployment basics

vLLM maintains Kubernetes deployment guidance for CPU and GPU environments and can also be integrated through several ecosystem stacks.

For a straightforward sovereign design, keep the first version boring:

  • dedicated GPU node pool;
  • explicit resource requests and limits;
  • pinned model and container versions;
  • readiness/startup checks that understand model-load time;
  • internal-only service exposure;
  • pod disruption and rollout settings that protect capacity.

The goal is predictable operation, not maximum platform complexity.

05

Put a gateway in front of vLLM

Do not expose the model server directly to every internal application.

An internal gateway can provide:

  • API keys or workload identity;
  • per-team quotas;
  • audit logging;
  • request IDs and trace propagation;
  • model aliases and controlled version changes;
  • streaming policy;
  • prompt-size and context limits;
  • optional DLP or content controls.

This separates inference lifecycle from application lifecycle. Teams can change models without rewriting every client.

06

Use default-deny egress

Sovereignty is easier to reason about when inference can run without outbound internet access.

A typical pattern is:

  • mirror container images internally;
  • pre-stage model weights in controlled storage;
  • disable unnecessary telemetry;
  • permit only explicitly approved internal destinations;
  • use a separate controlled workflow for model updates.

This makes the data path auditable and reduces dependence on an external model vendor at request time.

07

Monitor the serving layer

vLLM exposes production metrics through /metrics. Combine them with gateway and Kubernetes telemetry.

Watch:

  • TTFT and generation latency;
  • request queueing;
  • token throughput;
  • GPU memory pressure and utilisation;
  • active sequence count;
  • model-load failures;
  • pod restarts and OOM events;
  • error rate by model version.

Autoscaling should follow a signal related to real saturation — for example queue depth or concurrency — rather than only raw CPU utilisation.

08

Roll models like software releases

A model update can change output style, tool reliability, JSON validity or safety behaviour even when the API contract remains identical.

Use a controlled rollout:

  1. register the new checkpoint;
  2. run offline evaluations;
  3. deploy a canary replica;
  4. compare latency and task metrics;
  5. shift a small percentage of traffic;
  6. promote or roll back;
  7. retain the previous artefact until acceptance is complete.

For quantised models, record both the base model and the quantisation pipeline.

09

High availability and spare capacity

If a deployment cannot burst into a public cloud, maintenance reserve matters.

Design for at least the failures that are plausible in your environment: one pod, one GPU, one node, a storage interruption or a bad model rollout. The right redundancy level depends on the business criticality of the service.

Primary sources

References

  1. Burns, B., Grant, B., Oppenheimer, D., Brewer, E., & Wilkes, J. (2016). Borg, Omega, and Kubernetes. ACM Queue, 14(1), 70–93. doi:10.1145/2898442.2898444
  2. Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., et al. (2023). Efficient memory management for large language model serving with PagedAttention. Proceedings of the 29th ACM Symposium on Operating Systems Principles (SOSP 2023). arxiv.org/abs/2309.06180
  3. Rose, S., Borchert, O., Mitchell, S., & Connelly, S. (2020). Zero trust architecture (NIST Special Publication 800-207). National Institute of Standards and Technology. doi:10.6028/NIST.SP.800-207
  4. Sculley, D., Holt, G., Golovin, D., Davydov, E., Phillips, T., et al. (2015). Hidden technical debt in machine learning systems. Advances in Neural Information Processing Systems 28 (NeurIPS 2015). papers.nips.cc/paper_files/paper/2015/hash/86df7dcfd896fcaf2674f757a2463eba-Abstract.html
  5. Breck, E., Cai, S., Nielsen, E., Salib, M., & Sculley, D. (2017). The ML test score: A rubric for ML production readiness and technical debt reduction. 2017 IEEE International Conference on Big Data, 1123–1132. doi:10.1109/BigData.2017.8258038

Each reference was checked against its publisher, arXiv or official record.

How to cite

LMXAI. (2026). Production vLLM on Kubernetes: a sovereign deployment pattern. LMXAI Insights. https://lmxai.com/insights/vllm-kubernetes-production-sovereign.html