Production RAG Infrastructure on Kubernetes
Operating the retrieval tier behind a RAG system on Kubernetes: index internals and the memory wall, sharding and what it does to recall, embedding pipelines and corpus backfills, re-embedding migrations without downtime, and measuring retrieval quality when nobody labelled the corpus. Built for corpora measured in millions of documents. Lifetime updates included.
What you'll learn
Curriculum
9 modules · 37 lessonsThe Retrieval Path in Production
What runs between a user question and the tokens a model generates, the arithmetic that decides the architecture, and the failure that returns 200 and a wrong answer.
The Index as a Data Structure You Operate
Index families and the tradeoff triangle, build parameters and their real cost, filtered search, and the quantization decision that stops being optional.
Running the Vector Store on Kubernetes
The sizing decision, sharding and what it does to recall, restore against rebuild, tenant isolation, and upgrading a stateful tier whose index takes hours to build.
The Embedding Pipeline as Infrastructure
Embedding as a GPU serving workload, backfills that survive failure, freshness lag, and what chunk size costs you downstream.
Index Lifecycle: Mutation and Re-Embedding
What deletes do to a graph index, when to compact against rebuild, and executing a re-embedding migration without downtime.
Retrieval in the Request Path
The latency budget shared with generation, caching, degrading when retrieval is unavailable, and the reranker as a second serving tier.
Retrieval Quality in Production
Measuring recall without labels, catching silent decay, building evaluation sets from real traffic, and attributing a bad answer to the right layer.
Debugging and Capacity
A method for retrieval failures, tail latency in a vector search, and a cost model whose dominant term is memory.
Capstone
A full retrieval tier designed end to end, with the tradeoffs stated and a re-embedding you already know is coming.
About the Author

Sharon Sahadevan
AI Infrastructure Engineer
Building production GPU clusters on Kubernetes. H100s, large-scale model serving, and end-to-end ML infrastructure across Azure and AWS.
10+ years designing cloud-native platforms with deep expertise in Kubernetes orchestration, GitOps (Argo CD), Terraform, and MLOps pipelines for LLM deployment.
Author of KubeNatives, a weekly newsletter read by 3,000+ DevOps and ML engineers for production insights on K8s internals, GPU scheduling, and model-serving patterns.