-
Notifications
You must be signed in to change notification settings - Fork 42.8k
Allow configuration of reclaim policy in StorageClass #38192
Copy link
Copy link
Closed
Labels
sig/storageCategorizes an issue or PR as relevant to SIG Storage.Categorizes an issue or PR as relevant to SIG Storage.
Description
Use case: as Kubernetes admin I want to define a StorageClass that provisions PVs with PersistentVolumeReclaimPolicy = "Retain" so users don't loose their data when they accidentally delete their PVCs.
API changes:
- Either "magic" annotation
kubernetes.io/reclaim-policy: Retain - Or a new StorageClass field
sc.PersistentVolumeReclaimPolicy: Retain
Requested actions:
- Update the API.
- Update internal provisioning logic to respect this new annotation/field.
- Update docs.
- Announce that external provisioners need to respect this new annotation/field.
All these items are fairly easy if we agree on the design.
@kubernetes/sig-storage
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
sig/storageCategorizes an issue or PR as relevant to SIG Storage.Categorizes an issue or PR as relevant to SIG Storage.