NetApp / trident

Storage orchestrator for containers
Apache License 2.0
760 stars 222 forks source link

How to recover from accidently uninstalling Trident operator helm release? #701

Open hihellobolke opened 2 years ago

hihellobolke commented 2 years ago

Trident recovery

As an admin if Trident was installed using helm, and if I were to uninstall it accidentally - all the tbc/tbe's go in deleting phase. This is good because app team's pvc/pv's etc are not deleted yet. And if I go back and install the helm again. The old tbc/tbe continue to exists in deleteing phase, and new PVCs remain pending. Please document, how do I recover from this scenario?

Option 1 - Recovery with clean slate

An undesirable way of recovering would be:

hihellobolke commented 2 years ago

Any updates?

scaleoutsean commented 2 years ago

I use Option 1 when I have to, because I haven't found a way to "reanimate" volumes whose backend went down and then came up. Only, unlike in your Option 1, I don't delete PVs - if you can wipe Trident and PVCs without deleting PVs, after you install Trident again you can import those PVs back with volume import (see #558 for my context).