</>CodeWithKarani
All topics
Topic

DevOps & Cloud

Docker, Kubernetes, CI/CD and observability - diagnosing why it works on your machine but not in the cluster.

Sub-topics

60 articles · showing 1-9 (page 1 of 7)

DevOps & Containers9 min read

ArgoCD Stuck on 'Waiting for Completion of Hook': Breaking the Deadlock

Your ArgoCD sync has waited on a PreSync Job for forty minutes and Terminate changes nothing. Here is why the hook never completes and the exact steps that clear it.

Read
Engineering Craft7 min read

Docker, Finally: A Practical On-Ramp for Developers Who Kept Putting It Off

You are not scared of containers, you are tired of the vocabulary. The mental model in four sentences, four commands, a real multi-stage Dockerfile, a Compose v2 file, and the five things that will confuse you.

Read
Engineering Craft7 min read

Ship to Your Own VPS: GitHub Actions CI/CD Without the Cloud Bill

A complete pipeline for a 10-dollar server: test, build to GHCR, deploy over SSH, health check, roll back. Real workflow YAML with current action versions, plus the details that quietly break deploys.

Read
DevOps & Containers9 min read

CrashLoopBackOff with no logs: a systematic way to find the real cause

CrashLoopBackOff is a retry policy, not a diagnosis. Four categories, two commands to tell them apart, and why three of the four are not application bugs at all.

Read
Web & JavaScript9 min read

ERR_REQUIRE_ESM on Vercel but not locally: the Next.js 16.2 monorepo bug

Your Next.js build passes and the Vercel deploy 500s with ERR_REQUIRE_ESM. Here is the missing .next/package.json that causes it, and three workarounds that hold.

Read
DevOps & Containers8 min read

Fixing Helm's "another operation is in progress" Without Nuking the Release

An interrupted helm upgrade leaves the release Secret stuck at pending-upgrade and blocks every deploy. Here is the safe unstick order, and why the label patch fails.

Read
DevOps & Containers8 min read

Helm 'has no deployed releases': recovering a broken release history

When every Helm revision is failed or pending, upgrade and rollback both refuse to run. Here is how the release Secrets work, how to repair the history safely, and how to stop it recurring.

Read
AI Engineering8 min read

How to Evaluate an LLM Feature Before It Touches a Customer

Vibes are not a release gate. Build the eval set from real traffic, split deterministic checks from LLM-as-judge scoring, calibrate the judge against humans, and wire the whole thing into CI so a prompt change cannot silently regress.

Read
DevOps & Containers9 min read

Helm Upgrade Stuck in PENDING_UPGRADE After a Hook Timeout: The Cleanup Path

A pre-upgrade hook outran --timeout, and now Helm refuses every retry and shows two deployed revisions. Here is why the release state froze and how to clear it safely.

Read
DevOps & Cloud - Guides, Sub-topics & Fixes · Code With Karani