Skip to content
03 / SANTHOSH

Blogs

Notes from production: what broke, what I changed, and what I'd do differently.

  • 01
    AI5 min read

    Incident agents with LangGraph, LangChain and MCP (1/3)

    How the investigation itself is built and run — MCP servers as the only door to Prometheus, Loki, Tempo and pod events; a LangGraph state graph running the telemetry sweep and the recall search in parallel; a ReAct loop confined to a single node; an LLM judge deciding whether anything gets posted; why none of it can live inside workflow code; and KEDA scaling the workers to zero between incidents.

  • 02
    AI4 min read

    Embedding and vector search for incident recall (2/3)

    Step 6 of a first-level investigation — "have we seen this before?" — is the one a human always loses, because Slack search is keyword search. How pgvector makes it work: rendering alerts and resolved threads into the same shape so similarity means something, a cosine HNSW index and the filter trap hiding inside it, and a Kafka pipeline that re-embeds whole threads rather than messages.

  • 03
    AI6 min read

    Agent memory and context engineering in Postgres (3/3)

    An agent whose pod can vanish mid-investigation and whose workflow exits after thirty minutes idle — so every message it has ever seen is a row, in one table with a raw column and a compacted one, with tool output reduced before it reaches the context. Plus one incident thread walked row by row, from 42,709 tokens of telemetry down to 1,889.

  • 04
    AI7 min read

    How an AI does first-level incident analysis

    The first fifteen minutes of every production alert are the same seven steps against the same four systems — and the one step that matters most, "have we seen this before?", is the one a human always loses. How a Slack bot runs that pass in under a minute, and how it and the on-call engineer work the incident together.

  • 05
    Kubernetes8 min read

    Sandboxing serverless workloads with gVisor and Kubernetes RuntimeClass

    A container is not a security boundary — every pod on a node shares one kernel. Adding gVisor to a pod-per-message serverless platform on Kubernetes: how runsc works, wiring RuntimeClass through Helm and an operator, and the loopback gotcha that breaks kubectl port-forward.

  • 06
    Kubernetes11 min read

    From branch to production: automating multi-environment deployments with GitHub Actions and Argo CD on EKS

    How I run 20+ developer environments plus testing, staging and production across two AWS accounts with one standalone deploy-pipeline repo whose workflow every microservice reuses — GitHub Actions building images, self-hosted runners reaching private EKS, and per-cluster Argo CD doing the syncs. On-demand dev deploys, auto-drafted releases and a branch-to-production promotion flow that never rebuilds the artefact.

  • 08
    SRE4 min read

    Implementing SLOs and error budgets in production

    How to turn reliability from a gut feeling into a measurable, negotiated target — choosing good SLIs, setting honest SLOs, deriving an error budget and wiring up multi-window burn-rate alerts in Prometheus.

  • 09
    AI5 min read

    Building an AI platform on Kubernetes

    Once three teams have each rebuilt GPU scheduling, model serving and RAG plumbing, you don't have an AI strategy — you have three. Here's how to turn that into one paved road on Kubernetes: a gateway, a serving layer, GPU compute and the cross-cutting concerns that make it production-grade.

  • 10
    AI4 min read

    Observability for AI applications with OpenTelemetry

    LLM apps fail in ways ordinary services don't — silent quality drops, runaway token costs, latency you can't explain. Here's how to instrument them with OpenTelemetry's GenAI conventions and see tokens, cost, latency and traces in Grafana.

  • 11
    Kubernetes5 min read

    Zero-downtime Kubernetes upgrades: a production-ready strategy

    Kubernetes ships three releases a year and you can't skip them — here's how to keep clusters current without users ever noticing, covering version skew, pre-flight checks, workload readiness and a careful node rollout.

  • 14
    AI4 min read

    Analysing incidents in plain language with MCP and AI

    Investigating incidents by asking questions in plain language — exposing Prometheus, Loki and Tempo as tools an AI assistant calls over the Model Context Protocol, instead of reaching for PromQL, LogQL and TraceQL.

  • 15
    AI3 min read

    Building a RAG pipeline with pgvector and vLLM

    How retrieval-augmented generation grounds an LLM in your own data — chunking, embeddings, vector search with pgvector and generation with a self-hosted vLLM endpoint.

  • 17
    Kubernetes3 min read

    Deploying AI inference on Kubernetes

    A practical guide to running AI model inference workloads on Kubernetes with vLLM — resource limits, autoscaling and serving at scale.