When we scale down or remove a StatefulSet, we don't remove associated PVCs of nodes that have been removed.
The StatefulSet controller itself does not remove PVCs either.
This can lead to confusing scenarios:
- scale down a cluster, then scale it up 3 months later: it will reuse 3-months old volumes
- remove a cluster, create it again with the same name: it will reuse the old cluster data
I think we should remove PVCs (I don't see why not), but not necessarily remove the associated PVs: leave that up to the storageClass reclaim policy.
When we scale down or remove a StatefulSet, we don't remove associated PVCs of nodes that have been removed.
The StatefulSet controller itself does not remove PVCs either.
This can lead to confusing scenarios:
I think we should remove PVCs (I don't see why not), but not necessarily remove the associated PVs: leave that up to the storageClass reclaim policy.