Kubernetes HPA Custom Metrics: Prometheus Adapter vs KEDA
Learn how the HPA reads custom metrics, choose a metric that tracks per-pod load, and build the pipeline with Prometheus Adapter or KEDA.
18 min read
Category
Docker, Kubernetes, CI/CD, PostgreSQL, Redis, Nginx, monitoring and deployment.
Learn how the HPA reads custom metrics, choose a metric that tracks per-pod load, and build the pipeline with Prometheus Adapter or KEDA.
18 min read
Wire the Kubernetes HPA to request rate, queue depth and latency via custom and external metrics, and choose between Prometheus Adapter and KEDA.
14 min read
Rank slow queries by total cost with pg_stat_statements, then use EXPLAIN (ANALYZE, BUFFERS) to find row misestimates and fix the real cause.
13 min read
Learn how Kubernetes requests and limits drive scheduling, QoS classes and runtime enforcement, and how to size CPU and memory to avoid throttling and OOMKills.
15 min read
Learn to page only when users are hurt: symptom-based SLO burn-rate alerts, multiwindow thresholds, actionable pages and a review loop that cuts noise.
14 min read
Back up Postgres in Docker Compose with pg_dump via compose exec, schedule it with host cron, ship dumps off-host, and automate a restore test that proves it works.
13 min read
Learn how to design a shared JSON log schema, propagate correlation IDs across services, set meaningful log levels, and enforce it all as a cross-team contract.
14 min read
Learn how liveness, readiness, and startup probes work with SIGTERM handling and connection draining to deliver zero-downtime container deploys.
14 min read
Learn how to coordinate releases across services with contract-level version compatibility, expand/contract changes, safe rollbacks, and when release trains help.
15 min read
Issue Let's Encrypt TLS certificates for Nginx with certbot, then make auto renewal reliable with deploy hooks, dry runs and independent expiry checks.
14 min read
Build blue/green zero downtime deployments on one host with Docker Compose healthchecks, Nginx upstream switching, graceful reloads, and safe rollback.
17 min read
Learn why PostgreSQL connections are costly, how app pools and PgBouncer work together, how to size pools, and when transaction-mode pooling breaks your app.
16 min read