← Writing · page 3 of 4

How-to guides

50 posts tagged how-to.

Oct 20, 2026

How to Set Up Grafana Loki on Kubernetes with Alloy (2026)

Step-by-step Grafana Loki 3.7 setup on Kubernetes: the new grafana-community Helm chart, deployment modes, S3 storage, Grafana Alloy replacing end-of-life Promtail, labels vs structured metadata, LogQL, retention, and fixes for 429 and too many outstanding requests.

12 min
Oct 20, 2026

How to Speed Up GitHub Actions CI: Caching, Sharding, Docker (2026)

A step-by-step guide to faster GitHub Actions in 2026: measure job timings, cancel stale runs, use setup-node, setup-python and setup-go caching, actions/cache v6, buildx type=gha layer caching, matrix test sharding and larger runners, plus a cache-miss troubleshooting table.

13 min
Oct 20, 2026

How to Use GitHub Actions OIDC With AWS, GCP and Azure (2026)

Step-by-step GitHub Actions OIDC setup for AWS, Google Cloud and Azure with no stored secrets: trust policies pinned to sub claims, immutable subjects, environments, pinned actions, and fixes for sts:AssumeRoleWithWebIdentity, audience and AADSTS700213 errors.

14 min
Oct 20, 2026

How to Fix Kubernetes CrashLoopBackOff: Causes and Commands (2026)

Fix Kubernetes CrashLoopBackOff step by step: what the state means, the 10s to 5 minute backoff and the new per-node max in 1.35+, kubectl describe and logs --previous, exit codes 1, 127, 137 and 143, probe and OOM causes, and kubectl debug for crashing containers.

13 min
Oct 20, 2026

How to Fix 502 Bad Gateway and 504 Gateway Timeout Errors (2026)

Fix 502 Bad Gateway and 504 Gateway Timeout step by step: find which hop generated the error, read NGINX upstream errors, fix keepalive and idle timeout mismatches (ALB 60s, GCP 600s), Kubernetes readiness and rollout gaps, Gateway API timeouts and Cloudflare 520 to 526.

15 min
Oct 20, 2026

How to Fine-Tune an LLM with LoRA Using Unsloth or TRL (2026)

Step-by-step LoRA and QLoRA fine-tuning of an open-weight LLM with Unsloth 2026.10 or Hugging Face TRL 1.16: dataset format, hyperparameters, GPU memory, training script, evaluation against the base model, GGUF and vLLM export, and fixes for OOM and loss problems.

14 min
Oct 20, 2026

How to Detect Runtime Threats with Falco on Kubernetes (2026)

Step-by-step Falco 0.45 setup on Kubernetes: Helm chart 9.2.0 with the modern eBPF driver, default and custom rules, Falcosidekick alerts to Slack, tuning noise, Falco Talon response actions, drop metrics, and a troubleshooting table for driver errors.

15 min
Oct 20, 2026

How to Use External Secrets Operator with Vault on Kubernetes (2026)

Step-by-step External Secrets Operator v2.13 setup with HashiCorp Vault, OpenBao or AWS Secrets Manager: Helm install, Kubernetes auth, ClusterSecretStore, ExternalSecret, rotation and reloads, ESO's 2025 release pause, alternatives, and fixes for SecretSyncedError.

14 min
Oct 20, 2026

How to Deploy vLLM on Kubernetes with GPUs: Step-by-Step (2026)

Deploy vLLM v0.32.0 on Kubernetes with NVIDIA GPUs: install GPU Operator v26.7.2, cache model weights on a PVC, serve an OpenAI-compatible API, autoscale on vllm:num_requests_waiting with KEDA, and fix CUDA out of memory and slow startup errors.

15 min
Oct 20, 2026

How to Deploy an ML Model on Kubernetes with KServe 0.21 (2026)

Step-by-step KServe v0.21.0 guide: install in Standard mode with Helm, cert-manager and Gateway API, deploy scikit-learn and Hugging Face/vLLM InferenceServices, add HPA or KEDA autoscaling, canary rollouts, GPUs, and fix InferenceService not ready.

14 min
Oct 20, 2026

How to Scan Container Images with Trivy and Grype (2026)

Step-by-step guide to scanning container images with Trivy v0.76 and Grype v0.121: verified installs after the March 2026 Trivy compromise, image and SBOM scans, CI gates on fixable criticals, .trivyignore, VEX, and fixes for DB download errors.

12 min
Oct 20, 2026

How to Run Chaos Experiments on Kubernetes with Chaos Mesh (2026)

Step-by-step Chaos Mesh 2.8.5 guide: install with Helm on containerd, opt namespaces in, write PodChaos, NetworkChaos and StressChaos YAML, gate experiments on a Prometheus SLO, schedule them, and run the same test with a LitmusChaos promProbe, plus a troubleshooting table.

16 min
Oct 20, 2026

How to Set Up cert-manager with Let's Encrypt and Fix Errors (2026)

Install cert-manager v1.21 with Helm, create Let's Encrypt ClusterIssuers for HTTP-01 (Gateway API or Ingress) and DNS-01, then debug a Certificate stuck not ready by walking CertificateRequest, Order and Challenge, with rate limits, ARI and alerts.

14 min
Oct 20, 2026

How to Do Canary Deployments with Argo Rollouts 1.10 (2026)

Step-by-step Argo Rollouts canary guide for 2026: install v1.10.1 with Helm and the Gateway API plugin v0.17.0, write a Rollout with weighted steps, add a Prometheus AnalysisTemplate, watch automated rollback, and fix the common errors.

14 min
Oct 20, 2026

How to Build an MCP Server in Python and TypeScript (2026)

Build, test and ship an MCP server on the official SDKs: Python mcp 2.3.0 and TypeScript @modelcontextprotocol/server 2.3.1, with tools, resources, prompts, MCP Inspector, Claude Desktop, Claude Code and VS Code config, stateless HTTP, and packaging.

15 min