Cases5 cases
1 to 5 of 5
IL-0085A control plane node of Magic Pages' Kubernetes cluster on Hetzner Cloud ran out of memory, the cluster's own calls then used up the Hetzner API rate limit, and all customer websites were down for about 7.5 hoursMagic Pages2025- Symptoms
At around 09:33 UTC one of the three control plane nodes of the Kubernetes cluster that hosts Magic Pages went offline. Looking at the node showed that it had run out of memory.
- Trigger
One of the three control plane nodes ran out of memory and went offline at about 09:33 UTC; the attempts to replace it with hetzner-k3s failed while the cluster's own components were exhausting the Hetzner API rate limit.
- Root cause
- Component
- Contributing factor
- Detection
The founder found the control plane node offline at about 09:33 UTC. Monitoring alerts about unreachable customer websites started around the time the replacement attempts failed, and about half an hour of investigation identified the exhausted Hetzner API rate limit.
- Remediation
- powered off all servers of the Kubernetes cluster to stop the API requests so the Hetzner rate limit could recover
- waited until ratelimit-remaining had built up a buffer before starting recovery
- restarted the control plane servers
- started the essential Longhorn components by hand so Longhorn could heal and make storage volumes available
- restarted the remaining websites by hand
- Action items
- Monitor the Hetzner API call rate coming from the Kubernetes cluster nodes themselves to get early warning of high usage
- Get a higher Hetzner API rate limit; Hetzner support was contacted
- Investigate how to reduce the cluster's reliance on a single API, including alternatives to hetzner-k3s
- Document and test a procedure for recovering Longhorn after a full cluster shutdown
- Lessons
The running cluster, not only the deployment tooling, consumed the cloud provider's API quota, and in a failure it consumed it fast enough that the quota never recovered. The default limit of 3600 requests per hour was not enough for failure and recovery scenarios, and API usage from inside the cluster was not monitored. A tool that hides the provider's API errors slows diagnosis. After a full, non-graceful shutdown, Longhorn needed manual intervention to come back, which lengthened the outage.
IL-0489Rejoining a failed node of Magic Pages' three-node MySQL cluster broke its metadata and took customer websites downMagic Pages2025- Symptoms
On 15 January 2025, from about 09:55 to 11:36 CET, a database outage at Magic Pages took down customer websites. It began when the founder tried to reconnect a failed third node to the high-availability MySQL cluster and the database server reported ambiguous errors about missing metadata information.
- Trigger
One of the three nodes of the MySQL cluster went down, and reconnecting it failed with errors about missing metadata information.
- Root cause
- Component
- Contributing factor
- Remediation
- Restarted the storage server to fix PVC provisioning
- Let the MySQL nodes restore and sync with each other for about 45 minutes to rebuild the cluster metadata
- Cleaned up the corrupted cluster metadata
- Redeployed MySQL Router
- Action items
- Monitor the health of the storage system more closely
- Improve the failover procedures for MySQL Router
- Investigate and fix the status page so it shows reliable information
- Lessons
The cluster survived the first node failure as designed and lost no data, but its metadata turned out to be a single point of failure. Better monitoring of PVC health could help prevent similar issues, the 45-minute recovery leaves room for improvement, and the status page has to detect failing customer sites reliably.
IL-0009A duplicated generated name made Argo CD replace the InfluxDB Cloud production Application and delete the whole production environmentInfluxData2022- Symptoms
Right after a pull request to the infrastructure-as-code repository was merged, every API endpoint of one InfluxDB Cloud production cluster began returning 404 errors. Writes and reads failed alike: no one could collect data, scheduled tasks failed to run and external queries did not work.
- Trigger
A merged pull request whose rendered YAML added a new Argo CD Application and AppProject that an automation error had named app01-cluster01, the name of the existing production Application, instead of app02-cluster01; reviewers did not notice the app01 and app02 difference.
- Root cause
- Component
- Contributing factor
- Detection
Monitoring and alerting did not detect the issue right away, so the team's first response was to try to roll the change back rather than plan a recovery. The write-up does not say how the team found out.
- Remediation
- stopped the revert of the merged pull request
- restored the etcd metadata cluster
- recreated the missing Kubernetes objects so the retained PersistentVolumes became available, then recreated the StatefulSets
- restored the Zookeeper volumes from an hourly Velero backup
- rebuilt the Kafka StatefulSet one pod at a time with health and readiness checks disabled
- accepted writes into the Kafka write-ahead log and scaled up the write path with more replicas and higher memory requests and limits
- recreated the storage pods, which downloaded data from object storage, reindexed it and replayed the write-ahead log
- re-enabled Argo CD, queries, dashboards and scheduled tasks, restored replica counts and ran final QA checks
- Action items
- Write runbooks for restoring state when Kubernetes objects such as PersistentVolumeClaims are deleted but the data on the underlying volumes is preserved
- Set every volume in every environment to retain data when its PersistentVolumeClaim is deleted
- Improve the process for handling public-facing incidents
- Store generated YAML as one object per file, so an overwrite of an existing object shows up as such in review
- Detect duplicate objects when generating YAML and warn before review, treating objects with the same group, namespace and name as the same even when the apiVersion string differs
- Add the Argo CD Prune=false annotation to all stateful resources and to Namespace objects managed by Argo CD
- Set FailOnSharedResource=true on Argo CD Applications so Argo CD fails before changing an object another Application manages or managed
- Lessons
The biggest gap was that monitoring did not notice the deletion quickly, which pushed the team toward a reflex rollback; in a stateful system a revert can create a new, empty instance instead of bringing the old one back. Retained volumes and clients that retry writes are what kept data loss at zero. Rendering many objects into one file let an overwrite of an existing object look like an addition, so generated configuration needs one object per file and duplicate detection that compares objects the way Kubernetes does. Stateful resources need protection from pruning, and that protection must cover their Namespace too, or deleting the namespace removes everything inside it.
IL-0521AKS pods could not mount volumes and new nodes got no CNI network interface after the cluster service principal expiredJenkins project2021- Symptoms
From 18:02 UTC on 2 June 2021, the Jenkins infrastructure AKS cluster logged errors about pods that were unable to mount volumes and about scaled-up nodes that were unable to obtain a network virtual interface from the CNI.
- Trigger
The Azure Service Principal credential of the AKS cluster expired at 17:53 UTC on 2 June 2021.
- Root cause
- Component
- Contributing factor
- Detection
The error behind the failures was found in the AKS UI console while the team investigated the root cause of the LTS 2.289.1 release problem.
- Remediation
- Renewed the AKS cluster's Azure Service Principal credential, which made AKS restart all nodes automatically
- Action items
- Add an automatic PagerDuty check that alerts a week before the service principal expires, as is done for certificates
- Keep a team-level calendar for manual operations such as resetting a credential
- Consider managed identities, which renew automatically, instead of the service principal
IL-0518gitlab.freedesktop.org on GKE ran short of volume space and a planned 30-minute storage upgrade became a 4-hour outagefreedesktop.org2018- Symptoms
Shortly after 9am UTC on 17 July 2018, the disk space of the GitLab cluster behind gitlab.freedesktop.org was critical, and some API requests were failing because of the shortage. The administrator first learned of the failure when people mentioned it on IRC.
- Trigger
Many recently created forks of Mesa, each about 2.1GB, filled the disk space of the GitLab cluster.
- Root cause
- Component
- Contributing factor
- Detection
People mentioned the failure on IRC. Monitoring and alerting on disk usage and API error rate had not been set up yet.
- Remediation
- Dropped all inbound traffic to GitLab at the firewall except from the administrator's IP
- Took a manual backup by streaming tar over SSH to an encrypted partition on a local machine
- Snapshotted all GCE disks behind the PersistentVolumes
- Copied the data from the old disk snapshots to new enlarged volumes through a temporary GCE VM
- Re-did the copy into new empty volumes with the correct directory structure and checked repositories, users and workflows
- Restored public access to GitLab
- Action items
- Set up monitoring, logging and alerts
- Find ways to communicate outages much better; this one was announced only on IRC, and the lists were not told when it dragged on
- Use the Cloud console clients instead of the slow Cloud Console web UI
- Add more GitLab administrators, ideally someone familiar with Kubernetes deployments
- Move from the single Omnibus container to GitLab's cloud native deployment with one container per service
- Move storage to resizeable volumes or to Google Cloud Storage
- Lessons
The backup step alone used up the outage window; backups had grown along with the disk problem, and a test run before announcing the window could have measured it. The changes had been tested on a scratch cluster, but not exactly as run, and tests of steps such as disk snapshots could have been more realistic. A single GitLab administrator who was new to Kubernetes was a single point of failure. Keeping at least three copies of the data from the first destructive step meant no data was lost.
These 5 cases involve Persistent volumes and stateful sets and Argo CD. kubegap audits a Kubernetes cluster for gaps like these, read-only, from Claude Code or Codex; its checks cite public reports like the ones in this library.
By root cause4
Capacity exhaustion2 cases
- Contributing factor
- Organisation
IL-0085A control plane node of Magic Pages' Kubernetes cluster on Hetzner Cloud ran out of memory, the cluster's own calls then used up the Hetzner API rate limit, and all customer websites were down for about 7.5 hoursMagic Pages2025IL-0518gitlab.freedesktop.org on GKE ran short of volume space and a planned 30-minute storage upgrade became a 4-hour outagefreedesktop.org2018
Dependency failure1 case
- Contributing factor
- Organisation
Configuration change1 case
- Contributing factor
- Organisation
Certificate or credential expiry1 case
- Contributing factor
- Organisation