Skip to Content

39 clusters, two waves of deletion: what GitOps does not protect

A KubeCon case study in chronological order: the first wave was stopped by chance, the second was triggered by the recovery
November 16, 2026 · Devertix

At KubeCon in Salt Lake City, held on 9–12 November 2026, Deepak Goel, chief technology officer for cloud native at Nutanix, presented a real outage. On a platform driven by GitOps, all 39 workload clusters were deleted, together with their applications. There is no exotic bug in the story: every component did what it was designed to do.

39workload clusters deleted

The set-up

According to the talk and the public slide deck, the platform was built on a single management cluster. On it ran Flux, Cluster API with the objects describing the 39 clusters, and an in-cluster Git server that was the source for Flux. A single reconciliation tree reached everything: the platform, Flux itself and the entire fleet. Goel stresses that this is an ordinary set-up, since the standard Flux installation also produces a self-managing Kustomization.

Two waves

The trigger was human error. While modifying another object, an administrator with elevated privileges accidentally deleted the top-level Flux Kustomization. Its inventory included everything that sat beneath it. According to the Flux documentation, with prune enabled and the default deletion policy (MirrorPrune), the controller removes the entire inventory in such a case, and that is exactly what happened.

Within twelve minutes the applications stopped, the Git server running in the cluster was deleted, and then Flux deleted its own controllers as well. The process stalled here, leaving orphaned resources and stuck finalizers behind. The 39 clusters survived this wave because the tool doing the deleting had removed itself along the way.

A stalled deletion, however, is not a safe state, because every affected object still carried the intent to delete. Roughly eight hours later, while the management cluster was being rebuilt, Flux was restored by hand. It loaded the unchanged desired state and finished what it had started. That is when all 39 clusters were deleted.

  1. During a change made with elevated privileges, the top-level Kustomization disappears. Its inventory contains the platform, Flux and all 39 clusters. Safeguard: an admission policy should block the deletion of cluster objects; the deletion policy should be Orphan.
  2. The applications stop, the Git server is deleted, and Flux deletes its own controllers too. The clusters are still there. Safeguard: Git should live outside the blast radius; Flux, the Git server and the cluster objects should be given a prune exemption.
  3. The controller brought back by hand loads the faulty desired state. All 39 clusters are deleted. Safeguard: fix the desired state first; the controllers should start suspended, with pruning disabled.
  4. All 39 clusters are rebuilt, using the same GitOps processes. What helped: the declarative description made the rebuild repeatable.
  5. In order of business importance; the data was preserved by the storage system's recycle bin. What was missing: a tested, complete restore process.
Timeline based on the public slides of the talk. The safeguards follow the speaker's lessons.

What saved the data

The team rebuilt the clusters in the first two days, using the same GitOps processes that the deletion had run through. The declarative model makes both the failure and the recovery repeatable. The applications were restored between the second and the fourth day, in order of business importance.

The backups fared worse. The most recent Velero snapshots were 12 hours old, the backup appliance could not restore the Kubernetes application layers, and the full recovery process had never been tried out before. In the end the data was saved by a layer nobody had counted on: the storage system's recycle bin, where the deleted block volumes had been retained.

A Kubernetes default belongs here too. The reclaim policy of dynamically provisioned volumes is Delete by default, meaning that when the volume claim (PVC) is deleted, the disk behind it goes as well. In this case the deleted block volumes were retained in the storage system's recycle bin.

Five questions about your own platform

  1. How large is the blast radius?

    Goel recommends a separate Kustomization per cluster, with a separately installed and protected Flux, so that a single faulty path cannot reach the entire fleet.

  2. How hard is it to delete in bulk?

    Flux allows exemptions per object (kustomize.toolkit.fluxcd.io/prune: disabled), the deletion policy (deletionPolicy) can be set to Orphan on the Kustomizations that own the infrastructure, and the deletion of cluster objects can be blocked with an admission policy.

  3. Where does Git live, and what happens to the volumes?

    The source of truth should be outside the blast radius, or there should be a mirror of it. On the StorageClass for critical data, Retain is the safe setting.

  4. Who notices a mass deletion?

    Flux events and API server logs should go to a place the cluster cannot delete.

  5. In what order do we recover?

    According to the runbook in the talk, the controllers come back suspended, the desired state has to be fixed and the source brought back first, and pruning stays disabled until the inventory matches reality.

The team set a recovery point objective (RPO) of under one hour instead of the previous 24 hours, and a recovery time objective (RTO) of under thirty minutes for the platform layer. They intend to verify these with regular, full restore tests.

What makes GitOps good is that change is traceable and repeatable. Blast radius and restorability have to be designed in their own right. This is worth deciding when designing the platform, and the restore test should be made part of SRE practice. On Amazon EKS, AWS Backup can provide the backup outside the cluster.

Sources

Kubernetes and GitOps

How large is the blast radius on your platform?

We go through the deletion policies, where Git lives, what happens to the volumes and the order of recovery.

Free consultation

New articles and webinar dates by email

We will let you know when a new article is published or a new webinar is announced. You can unsubscribe at any time.

Thank you, you have subscribed to the newsletter.

By subscribing, I confirm that I have read the privacy notice.