// This assembly is included in:
//
// assembly-management-tasks.adoc

[id="cluster-recovery-{context}"]
= Recovering a cluster from persistent volumes

You can recover a Kafka cluster from persistent volumes (PVs) if they are still present.

You might want to do this, for example, after:

* A namespace was deleted unintentionally
* A whole Kubernetes cluster is lost, but the PVs remain in the infrastructure

//namespace deletion explained
include::modules/con-namespace-deletion-recovery.adoc[leveloffset=+1]

//cluster loss explained
include::modules/con-cluster-loss-recovery.adoc[leveloffset=+1]

//General procedure to recover a cluster from a PV
include::modules/proc-cluster-recovery-volume.adoc[leveloffset=+1]
