- The challenge
Most of the cluster’s system components were stuck in CrashLoopBackOff. Each one needed another to be running before it could start, and those were crashing too, so nothing could recover on its own. With the API server down, the team couldn’t deploy, inspect or fix anything through Kubernetes itself.
- What we did
Save the state first, then rebuild around it.
- Isolated etcd, the database that holds the cluster’s entire state, and talked to it directly with etcdctl, bypassing the broken API server.
- Took a snapshot of etcd before touching anything else, so the cluster’s state was safe whatever happened next.
- Reset the cluster completely to break the crash loop.
- Rebuilt a fresh control plane and restored etcd from the snapshot.
- Restored the workloads and reconnected them to their data on the NFS server, which we left untouched throughout.
- The outcome
We started at 8 PM and handed back a healthy production cluster at 2 PM the next day: 18 hours in total. Nothing was lost. The cluster’s configuration came back from the etcd snapshot, and all application data stayed safe on the NFS server. Two decisions made it a controlled recovery rather than a full rebuild: securing the snapshot first, and keeping the data layer out of the blast radius.
WorkCase study
Recovering a telecom’s production Kubernetes overnight, with zero data loss
A large telecom company’s production Kubernetes cluster was stuck: every core component was crashing because each one depended on another that was also down. We saved the cluster’s state, rebuilt it from scratch and handed back a working cluster 18 hours after we started, with no data lost.
- Client
- A large telecom company
- Region
- Saudi Arabia and Kuwait
- Year
- [TBD: year]
- Environment
- Production Kubernetes cluster, with application data on a separate NFS server
- Problem
- Control plane in a crash loop: the API server, etcd and other system components
- Result
- Cluster rebuilt and handed over in 18 hours, zero data loss
More case studies
Software company · ISO 27001
An ISO 27001 security assessment the auditor accepted
A software company self-hosting Mattermost on AWS needed proof their setup was secure for ISO 27001. Our assessment found critical issues, including a live brute-force attack, and the auditor accepted our report as evidence.
Security audit & pen test
On-premise · Kubernetes
A production Kubernetes cluster built from scratch in three days
A company running its own servers wanted to replace its old NGINX ingress setup with a modern Kubernetes cluster. We automated the whole build, put Cilium’s Gateway API in front of their apps, and handed over a cluster they can rebuild with one command.
Kubernetes cluster build and automation