03:12 HAProxy is returning 502s.

Hatam Abolghasemi · LinkedIn · source

03:12 HAProxy is returning 502s. 03:14 “Who changed what? Roll back whatever it is.” 03:15 “Was it on the production cluster? When? How? Argo? Helm? kubectl apply?” 03:17 “Didn’t it have an ArgoCD application? Isn’t it git-tracked? Did anybody push anything to any repo around that time?” 03:18 ”…” 03:21 “Why does anyone still have an admin kubeconfig? Are we sure Keycloak tracks every kind of access to our clusters?” 03:40 (For whatever funny reason) the etcd content is gone :)) 03:41 “Where’s the Velero backup? Is it from yesterday? Was the secret to access it inside the cluster itself? Are the PVCs slowing the restore down? Is S3 down?” 03:42 ”…” 03:43 “I want the cluster up and running ASAP. ALL OF THE APPS, EXACTLY AS THEY WERE.”

GitOps tells the cluster what to be. Nothing told Git what the cluster actually was.

  • Pickle watches every object in your cluster with read-only access and commits a clean, re-appliable YAML copy to Git every 13 seconds.
  • Each file records who touched it last, and how.
  • Point ArgoCD at the snapshot repo on restore day.
  • Read it as rendered manifests while debugging.
  • Hotfixes still happen. Now they leave receipts.
  • Diff stg against prod, or yesterday against today, with plain git diff.
  • See what Helm defaults and operators actually created, not just what you wrote.
  • Hand new teammates a readable map of what’s really running.
  • Keep an audit trail of every change, reviewable like any other repo.

When something changes, you want a git log. When it’s gone, you want a single kubectl apply.

Configs, not data. Not secrets either. One pod, one Git repo. No object storage, no volume snapshots. Keep that repo private, and outside the blast radius.

🥒 Your cluster, preserved in a jar. https://lnkd.in/djSsF9xt

kubernetes gitops devops sre platformengineering disasterrecovery argocd velero cloudnative opensource golang incidentresponse