News for hackers. Stuff that matters.
Re:Total data loss after botched GitOps and failed backups by smartbit on Monday August 28, 2023 @01:34AM (#37290151)
The default PVC reclaim policy is Delete https://kubernetes.io/docs/reference/kubernetes-api/config-a.... The PV will be retained after deletion of the PVC by adding

  persistentVolumeReclaimPolicy: Retain
If Lily Cohen would have used this, recovery would have been possible.
Re:Total data loss after botched GitOps and failed backups by rdg42 on Monday August 28, 2023 @05:22PM (#37300549)
Thank you! Had to scroll way too much to read that.

On production systems "reclaimPolicy: Retain" on the storageClass feels like a no brainer to (mostly) avoid such disaster.