GitOps and CI/CD
Argo CD, Helm and GitLab CI: a safe path from commit to production and the cases where Synced does not mean deployed.
16 posts
- The certificate was valid. The CI image just did not know its new rootOvernight a CI job started failing with "self signed certificate in certificate chain", while the browser opened the same URL fine. The server had switched to a newer CA root, and the job image sat on an end-of-life Debian whose trust store predated it.
- Synced, Healthy and changed nothing: a values key the chart never readsThe merge request was approved, Argo CD was green and the behaviour did not change. Helm silently ignores keys it does not know, so the render stayed the same and the diff was honestly empty.
- The MySQL operator missed one event, and the config in Git never reached mysqldToo many connections on every site, a cluster at 2/3 for forty hours, and Argo CD saying Synced. One storage stall triggered it; two hidden operator behaviours turned it into an outage in waiting.
- Six of eight critical alerts were about a service we had already shut downBlackbox probes for a decommissioned production cluster kept firing for almost a month. The probes lived in another cluster's config, and the decommission only cleaned up its own folder.
- A node reboot froze dozens of test environments: their readiness gate was a pod nobody ownedAfter an in-place worker reboot, every test environment with data on that node hung in Init for hours. The node, the volumes and the platform were fine. The setup steps ran as plain Pods without a controller, the reboot deleted them, and the apps waited for a pod that no longer existed.
- RabbitMQ in Kubernetes: a memory alarm that can never fire, and a config that never loadsThree quiet defaults of a RabbitMQ Helm chart: the memory watermark is computed from the node, not the container, so the OOM killer always wins; a ConfigMap change does not restart the broker; and the volume is deleted together with its PVC.
- I rebuilt my home Kubernetes cluster on clean kubeadm. Here is what the rebuild exposedAn inherited kubespray cluster rebuilt in place on plain kubeadm in one day. The plan held; the lessons were six things that only ever worked by accident.
- Swapping WordPress for a static site with zero downtime: let the older route winA marketing site moved from WordPress to a static export. Gateway API conflict rules let the new route sit beside the old one, taking no traffic, until one commit released the hostname.
- Argo CD said Synced, and the API server had quietly thrown my fix awayMonths of missing metrics, a fix already in git and a green Synced status. The field did not exist in the CRD, so the API server pruned it and nobody complained.
- A GitLab upgrade and two signals that liedA routine minor upgrade of self-hosted GitLab in Docker. A pre-flight check claimed 32 pending migrations, and the container reported healthy while serving nothing.
- Merged, synced, mounted — and still not alerting: vmalert without hot reloadNew Kafka alert rules went through Git and Argo CD into the ConfigMap, yet vmalert never evaluated them. The GitOps pipeline broke on its very last step.
- A WordPress login loop that only happened sometimeswp-admin bounced back to the login page with reauth=1, but not always. The cause was random auth salts generated per pod behind a non-sticky load balancer.
- Three incidents that were one: a database IP baked into a configLogin 500s, backends in CrashLoopBackOff and a stuck rollout looked like three problems. All of them were one hardcoded database IP in a pgbouncer config.
- Changing an immutable StatefulSet field without restarting a single podGit said 20 GiB, the live StatefulSet ran 6 GiB templates and Argo CD said Synced. How orphan deletion plus OnDelete rebuilt the template with zero downtime.
- Helm says "another operation is in progress" — and nothing is runningA cancelled CI job left two Helm releases stuck in pending-upgrade and blocked every deploy. How to find the lock, release it safely and check a whole namespace at once.
- How I think about the platformPlatform as product, GitOps, CI/CD, DevSecOps — predictable releases and security in the pipeline, not after the fact.