Updated the ConfigMap, the App Still Reads the Old Value: Three Breakpoints in K8s Config Delivery

Overview At 1 AM I got a report about intermittent 429s. We had load-tested during the day and concluded that the rate limit on one path was set too low. So I changed a single number: rate_limit: 200 became rate_limit: 800. The kubectl apply succeeded, and kubectl get cm app-config -o yaml clearly showed 800. Twenty minutes later, the 429s were still there. I cat’ed the file inside the pod. It still said 200....

November 24, 2026 · 36 mins · 7477 words · Xu Baojin

Cloud Disk Attach Stuck for 30 Minutes: 6 Engineering Decisions for K8s CSI Storage, from Ghost VolumeAttachments to Self-Healing

Overview It was 2:40 AM when the on-call phone rang. A StatefulSet running the order database was doing a rolling update, and two of its three replicas were stuck in ContainerCreating for twenty minutes straight. kubectl describe pod gave only a vague FailedMount, kubectl get events was spamming FailedAttachVolume, and nobody could say which step it was stuck on. I have run into this failure more than once. And the interesting part is that, every time, the root cause was almost never “the storage broke” — the disk was fine, and the cloud console happily showed the volume as healthy....

November 3, 2026 · 37 mins · 7783 words · Xu Baojin

Database Connection Pool Blew Up Mid-Traffic-Shift: 6 Production-Grade Decisions for Blue-Green and Canary Deployment with Traffic Governance

Overview 2 AM. A ride-hailing platform’s payment service does a blue-green switch. The on-call engineer runs kubectl rollout to flip the Service selector, shifting traffic from blue to green. Everything looks fine — Pods are Ready, health checks pass, response latency looks normal. Three minutes later, the DBA chat explodes. Database connections spike from 200 to 1,200, the connection pool is maxed out, and five downstream services all time out. Root cause: the green environment’s app version updated the ORM framework, and the default pool size jumped from 20 to 100....

October 17, 2026 · 23 mins · 4898 words · Xu Baojin

One Namespace Ate 80% of Cluster Memory: 4 Production-Grade Decisions for K8s ResourceQuota Multi-Tenant Governance

Overview The night before a major promotional event, all Pods in the test environment were stuck in Pending. kubectl top nodes showed node CPU usage at 35% and memory under 50%. The Deployment YAML had reasonable requests and limits. The problem? Not a resource shortage — the “ledger” was maxed out. A namespace’s ResourceQuota had hit its ceiling, and the admission controller was rejecting all new Pod creation requests. This incident forced me to re-examine the entire chain of K8s namespace-level resource governance....

October 15, 2026 · 16 mins · 3339 words · Xu Baojin

Pods OOM Killed at 3 AM: From working_set Blind Spots to a Memory Warning System in 5 Production Decisions

Overview 3 AM. The alert group exploded. Five pods were OOMKilled and restarted within 10 minutes. The on-call engineer opened Grafana, and every pod’s working_set was still 200MB below its limit—80% utilization. Monitoring looked fine. The pods died anyway. This is not an isolated case. When I was doing a Kubernetes migration for a new-energy logistics platform, I dealt with this exact pattern—“monitoring is green but pods die”—more than 10 times....

October 9, 2026 · 21 mins · 4427 words · Xu Baojin

Rollback Made It Worse: 5-Layer CI/CD Auto-Rollback Architecture and 4 Production Pitfalls

Overview 2:47 AM, the alert chat exploded. A payment service’s P99 latency spiked from 80ms to 1200ms after a new version went live. The on-call engineer hit rollback immediately. kubectl rollout undo executed successfully, old version Pods came back up, traffic shifted back. The result? The service went completely down — because the new version had run a database migration script that changed the status column in the orders table from varchar(20) to tinyint....

October 3, 2026 · 22 mins · 4596 words · Xu Baojin

Zero-Failure K8s Migration of 120 Microservices: 6 Pitfalls Nobody Talks About from a 3-Month Real Migration

Overview Migrating 120+ microservices from traditional VM deployments to Kubernetes sounds like a standard project: write Dockerfiles, build a cluster, migrate services, shift traffic. In planning meetings, everyone thinks three months is enough. In practice, you discover that the real challenges aren’t about “how to get services running” — that’s just helm install — but about pitfalls nobody warned you about: circular dependencies in service graphs, in-memory state loss during stateful migration, CNI performance cliffs at scale, DNS caching traps during canary traffic shifts, ConfigMap bloat, and monitoring metric gaps after migration....

October 1, 2026 · 27 mins · 5746 words · Xu Baojin

Pods Stuck for 6 Minutes After Network Partition Injection: Blast Radius Control and 5 Production-Grade Decisions in Fault Injection Testing

Overview Netflix says chaos engineering reduced major production incidents by 70%. Many teams have seen this number, but those who have actually run fault injection in production are rare. The reason is simple: fear. Inject a network partition and Pods freeze—what then? Simulate disk full and the database crashes—then what? Manually injecting faults at 3 AM and scrambling to roll back—that’s not a drill, that’s manufacturing an incident. During a K8s migration for a new-energy logistics platform with 120+ microservices, I needed to validate disaster recovery capabilities before the full cutover....

September 3, 2026 · 24 mins · 4936 words · ABao

Starting from Docker Machine Deprecation: 7 Production Decisions for GitLab CI Runner Elastic Architecture and Cache Governance

Overview 1 AM. You get an alert: GitLab CI pipeline queue has 47 pending jobs. The dev chat explodes—“code pushed 40 minutes ago, still not running"“is the Runner down?““just add more machines!” You check the console: all 3 Runners are at capacity, each running 10 concurrent jobs, 30 slots fully occupied. Add machines? Docker Machine executor needs 3 minutes to spin up a new EC2, then another 2 minutes to become Ready....

August 13, 2026 · 17 mins · 3581 words · ABao

Managed Clusters Aren't Set-and-Forget: 5 Production Pitfalls After Migrating from Self-Hosted K8s to ACK

Overview “Fully managed control plane” — this phrase makes many teams think migrating to an ACK managed cluster means they can kick back and relax. In reality, managed only takes care of etcd, kube-apiserver, kube-controller-manager, and kube-scheduler. Data plane problems? Still all yours. I led a migration of 120+ microservices from a self-hosted K8s cluster to ACK Managed Cluster Pro. The migration took 3 months with zero-downtime cutover — but the first month after switching, 3 AM alerts never stopped....

August 8, 2026 · 23 mins · 4859 words · ABao