Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete PVCs when stateful set is deleted
Add PVC retention policy[1] to delete the PVCs when the statesfulset is deleted. Retain PVCs when scaling down so we can scale up again without loosing data. [1] https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention Signed-off-by: Nir Soffer <[email protected]>
- Loading branch information