Infrastructure. Local AI. Learning by doing.

I’m Vishnu, a platform engineer in Singapore. These are my notes from building and breaking things: Kubernetes clusters, GPU nodes, and models running on my own hardware. Most posts include the exact commands I ran. More about me →

Singapore · UTC+8
Jump to

Latest notes

All notes
Pixel art of a terminal, Kubernetes emblem, and diagnostic lens checking four server sockets for an amber workload

Why Is My GPU Pod Pending? A Seven-Step Checklist

A simple, diagram-first checklist for a GPU Pod stuck in Pending on Kubernetes: how to read the scheduler's message, the seven rules a node must pass, and the kubectl command that checks each one.

Pixel art of two prompt strips beside documents and a locked cache drawer, contrasting an early change with a reusable stable prefix

Prompt Layout for Cache Hits: Put the Stable Part First

A simple, diagram-first guide to writing prompts that a prefix cache can reuse: why one early timestamp throws away the whole cache, the right order for prompt parts, how to keep chat history append-only, and a script that measures the difference.

Pixel art of a small violet drafting robot sending token tiles through a larger cyan processor that accepts or rejects them

Speculative Decoding, Simply: A Small Model Guesses, the Big Model Checks

A simple, diagram-first guide to speculative decoding: why checking tokens is cheaper than writing them, how acceptance rate decides the speedup, when it makes serving slower, and how to turn it on in vLLM.

Pixel art of a six-panel monitoring console beside a small GPU server, a sleeping cat, and a mug

Monitoring vLLM in Production: Six Panels and Four Alerts

A simple, diagram-first guide to monitoring a vLLM deployment with Prometheus: why GPU dashboards mislead, the six panels worth building, four alerts that catch real problems, and a triage table for reading them together.

Pixel art of a GPU, a memory bank with fixed weights and growing cache, and a laptop displaying capacity headroom

How Much GPU Memory Does an LLM Need? Weights, KV Cache, and Headroom

A simple, diagram-first guide to sizing a GPU for LLM serving: how big the weights are, how much KV cache each token costs, how many concurrent users fit, and a small calculator script to check your own model.

Pixel art of a queued stream branching into four GPU server racks under a Kubernetes control unit

Autoscaling LLM Inference on Kubernetes: Why CPU Fails and Queue Depth Works

A simple, diagram-first guide to autoscaling vLLM on Kubernetes: why CPU and GPU utilization mislead the HPA, how to scale on queue depth with KEDA and Prometheus, and how to survive slow GPU cold starts.

Pixel art of a benchmarking workstation with a stopwatch, token-stream graphs, a GPU board, and chat icons

LLM Inference Metrics, Simply: TTFT, TPOT, Throughput, and Goodput

A simple, diagram-first guide to reading LLM serving numbers: what TTFT, TPOT, ITL, throughput, percentiles, and goodput measure, how they trade off, and a 40-line script to measure them on any OpenAI-compatible endpoint.

Pixel art of a GPU with three colored chip compartments and workload cubes over a dark circuit-pattern background

GPU Sharing on Kubernetes: Time-Slicing, MPS, and MIG, Explained Simply

A simple, diagram-first guide to sharing one NVIDIA GPU between many Pods: what time-slicing, MPS, and MIG actually isolate, the ConfigMaps that turn them on, and which one fits LLM inference.

Pixel art of a floating control plane linked to two server racks, the right rack with four glowing GPU cards

vCluster on Bare Metal: A GPU Tenant from One YAML File in Six Minutes

A diagram-first walkthrough of vCluster Platform private nodes and auto nodes on simulated bare metal: one request, Metal3 powers on two servers, writes Ubuntu, and a tenant cluster schedules pods onto a GPU node.

Pixel art of a control tower sending a request beam to a row of dark servers, one of them powering on and lighting up cyan

vCluster Private Nodes and Auto Nodes: How a Tenant Gets Its Own Servers

How vCluster Platform turns one tenant request into real machines: node providers, node types, NodeClaims, and the Metal3 and Ironic flow that writes an OS to a bare-metal server and joins it.