Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Private AI Stack Bootcamp: Ollama, vLLM, RAG & Kubernetes
New
9 students

Private AI Stack Bootcamp: Ollama, vLLM, RAG & Kubernetes

Run LLMs, RAG and AI agents on your own servers: Ollama, vLLM, Qdrant, Open WebUI and Kubernetes, all labs on CPU
Created byNEXUS ACADEMY
Last updated 11/2026
English

What you'll learn

  • Build a private AI platform on one Linux VM: Kubernetes with kind and Helm, model serving, gateway, chat UI, RAG and an agent
  • Serve open-weight models on Kubernetes with Ollama and the vLLM CPU image, with probes and resource limits sized from real measurements
  • Put every model behind one OpenAI-compatible front door with LiteLLM: aliases, fallbacks, virtual keys, budgets and rate limits
  • Give users a chat interface with Open WebUI connected to the gateway, with groups and per-group model visibility
  • Build a retrieval pipeline: parse, chunk, embed on CPU and index in Qdrant, with hybrid dense plus BM25 search
  • Ship a RAG service with FastAPI that reranks, cites its sources and refuses when nothing relevant is found
  • Evaluate RAG like software with a gold question set, hit@k and MRR, answer checks and a regression gate in CI
  • Run a tool-calling agent that uses your own MCP server, with stop conditions and an approval step for write actions
  • Measure capacity on CPU and scale with HPA and KEDA, using only numbers measured on your own bench
  • Observe and operate the stack: Prometheus, Grafana, OpenTelemetry traces, Argo CD GitOps, backups and rollbacks

Course content

7 sections • 131 lectures • 11h 6m total length
  • Course Documents and How to Use Them7:09
  • Section 1 Intro: What You Will Run by the End of This Course3:14
  • The Five Layers: Serving, Gateway, Apps, Data and Observability6:21
  • Self-Host or Call an API: A Decision Framework Without Price Tags6:20
  • CPU-Only on Purpose: Model Sizes, Memory and What This Bench Can Prove5:47
  • [LAB] Bench Check: CPU Flags, RAM, Free Disk and Docker Group Membership5:02
  • Model Licences You Can Ship: Apache-2.0, MIT and the Ones to Read Twice6:02
  • [LAB] The private-ai Repo: Layout, Makefile and an Empty smoke-test.sh6:49
  • The Memory and Disk Budget Table: Which Components Run Together4:49
  • Section 1 Wrap: A Plan, a Repo and a Budget3:03

Requirements

  • Comfort with the Linux command line, Docker and basic Python; earlier Kubernetes experience helps but is not required
  • A Linux machine or VM with about 16 GB of RAM and 40 GB of free disk that can run Docker. No GPU is needed: every lab runs on CPU

Description

“This course contains the use of artificial intelligence.”

Many teams want what large language models can do without sending prompts and internal documents to a public API. This bootcamp shows you how to build that platform yourself and run it like any other production service: on one Linux VM, on CPU, on Kubernetes, with every number on screen measured on the bench rather than quoted from a brochure.

First, the architecture: five layers (serving, gateway, apps, data and observability), a decision framework for self-hosting versus calling an API, model licences you can actually ship, and a memory and disk budget for a 16 GB machine. Then you build a real cluster with kind and Helm, add the Gateway API with Envoy Gateway, and serve open-weight models with Ollama and the vLLM CPU image, with startup probes sized to the warm-up time you measured.

Next, every model moves behind one OpenAI-compatible front door. LiteLLM gives you aliases, fallbacks, virtual keys, budgets and rate limits, and Open WebUI gives your users a chat window that talks to the gateway, never to the backends directly.

After that, the stack becomes useful. You build a retrieval pipeline with licensed documents, measured chunking, CPU embeddings and Qdrant hybrid search; ship a FastAPI RAG service that reranks, cites its sources and refuses when nothing relevant is found; and evaluate it like software with a gold question set, retrieval metrics and a regression gate in CI. An agent service then uses your own MCP server for internal tools, with an approval step before any write action.

Finally, you operate it: capacity tables from real load tests, HPA and KEDA autoscaling, Prometheus and Grafana dashboards, OpenTelemetry traces in Jaeger, Argo CD GitOps, backups, upgrades and rollbacks. The capstone rebuilds the whole stack on a clean cluster from one command and proves it with a smoke test.

Included: 130 lectures and about 11 hours of video, 85 of them recorded labs in which every command really runs, plus 12 downloadable worksheets, templates and runbooks. No GPU is needed; GPU scheduling on Kubernetes is covered conceptually and clearly marked as such.

Who this course is for:

  • Platform, DevOps and SRE engineers asked to run LLMs, RAG and agents on infrastructure their company controls
  • Backend and ML engineers who want to move a working AI prototype onto Kubernetes and operate it properly
  • Teams that cannot send prompts or documents to a public AI API and need a self-hosted alternative they can measure