← Writing · page 2 of 4

How-to guides

50 posts tagged how-to.

Oct 20, 2026

How to Tune pgvector Performance: HNSW, ef_search and Quantization (2026)

A step-by-step pgvector tuning guide for 0.8.x: HNSW vs IVFFlat, m, ef_construction and ef_search, maintenance_work_mem for fast builds, iterative scans for filtered queries, halfvec and binary quantization, EXPLAIN, and a troubleshooting table, with real timings.

14 min
Oct 20, 2026

How to Set Up the OpenTelemetry Collector on Kubernetes (2026)

Step-by-step OpenTelemetry Collector setup on Kubernetes with Helm chart 0.176.0 and Operator 0.161.0: agent DaemonSet vs gateway, k8s_attributes, auto-instrumentation with the Instrumentation CR, and fixes for dropped spans and memory_limiter refusals.

14 min
Oct 20, 2026

How to Build Multi-Region Failover with Route 53 and Cloud DNS (2026)

Step-by-step multi-region failover: active-passive vs active-active, Route 53 health checks and failover records in Terraform, ARC routing controls, Cloud DNS failover policies, Aurora Global Database and Spanner, failover testing, and fixes for DNS TTL and caching problems.

16 min
Oct 20, 2026

How to Use MLflow 3: Tracking, Model Registry and GenAI Tracing (2026)

Step-by-step MLflow 3.17 guide: run a tracking server on PostgreSQL and S3, log runs and LoggedModels, register models with aliases instead of stages, trace and evaluate a GenAI app with mlflow.genai, serve the champion model, and fix the errors you will actually hit.

12 min
Oct 20, 2026

How to Migrate From ingress-nginx to Gateway API: Step-by-Step (2026)

A tested, step-by-step ingress-nginx to Gateway API migration: inventory annotations, install Gateway API v1.6.3 and Envoy Gateway v1.9.2, convert with ingress2gateway v1.2.0, handle TLS, rewrites and canaries, read route status conditions, cut over with DNS and roll back.

13 min
Oct 20, 2026

How to Run LLM Evals in CI with GitHub Actions (promptfoo, 2026)

Step-by-step: gate prompt and model changes with LLM evals in GitHub Actions using promptfoo 0.124 or DeepEval 4.3, with deterministic and LLM-as-judge assertions, pass-rate thresholds, caching, cost limits, PR comments and fixes for flaky evals.

14 min
Oct 20, 2026

How to Set Up LiteLLM Proxy: Budgets, Fallbacks and Virtual Keys (2026)

Step-by-step LiteLLM proxy setup for v1.106.0: verify and pin the image, run it with Postgres on Docker Compose or Helm, write config.yaml, add fallbacks and retries, issue virtual keys with budgets and rate limits, log to Langfuse and OpenTelemetry, and troubleshoot the common errors.

13 min
Oct 20, 2026

How to Troubleshoot Linux Performance in 60 Seconds (2026 Checklist)

A step-by-step Linux performance troubleshooting guide for 2026: Brendan Gregg's 60-second checklist (uptime, dmesg, vmstat, mpstat, pidstat, iostat, free, sar, top), how to read each output, PSI, the USE method, then bpftrace 0.27 and BCC one-liners.

13 min
Oct 20, 2026

How to Add Human-in-the-Loop Approval to a LangGraph Agent (2026)

Step-by-step LangGraph 1.2 guide: build a tool-calling agent with interrupt() approval before risky tools, persist it with the Postgres checkpointer, resume with Command, stream updates, deploy, and fix the common errors.

11 min
Oct 20, 2026

How to Enforce Pod Security Standards with Kyverno 1.19 (2026)

Step-by-step: enforce Kubernetes Pod Security Standards with Pod Security Admission namespace labels and Kyverno 1.19 CEL policies. Helm install, audit then enforce, policy reports, mutate and generate policies, PolicyExceptions, and fixes for Kyverno webhook failures.

13 min
Oct 20, 2026

How to Fix Kubernetes Pods Stuck in Pending: Causes and Commands (2026)

Pods stuck in Pending? Read the FailedScheduling event, then fix the cause: insufficient cpu or memory, untolerated taints, node affinity, unbound PVCs and volume zones, topology spread, quotas, scheduling gates, or Karpenter and Cluster Autoscaler not scaling.

12 min
Oct 20, 2026

Fix Kubernetes OOMKilled and Exit Code 137: Step-by-Step Guide (2026)

How to fix OOMKilled and exit code 137 in Kubernetes: confirm the kill with lastState, tell a cgroup limit OOM from node OOM and eviction, read working set vs RSS, size JVM, Node.js, Go and Python memory to the limit, find leaks, and right-size with VPA and in-place resize.

12 min
Oct 20, 2026

How to Write Kubernetes NetworkPolicies: Default Deny to Egress (2026)

Step-by-step Kubernetes NetworkPolicy guide for 2026: default deny, allowing DNS, namespace and pod selectors, egress control, Cilium and Calico support, ClusterNetworkPolicy v1alpha2, testing with netshoot, and a troubleshooting table for blocked traffic.

14 min
Oct 20, 2026

How to Fix ImagePullBackOff and ErrImagePull in Kubernetes (2026)

Fix Kubernetes ImagePullBackOff and ErrImagePull step by step: read the real event message, then fix wrong tags, moved Bitnami images, imagePullSecrets, ECR and Artifact Registry node permissions, Docker Hub 429 rate limits and arm64/amd64 mismatches.

13 min
Oct 20, 2026

How to Troubleshoot Kubernetes DNS and CoreDNS: Step by Step (2026)

A step-by-step guide to fixing Kubernetes DNS: test from a dnsutils pod, read resolv.conf and ndots:5, check CoreDNS pods, endpoints, logs and metrics, fix NXDOMAIN, SERVFAIL and i/o timeout errors, the 5-second conntrack race, and install NodeLocal DNSCache.

13 min