[WIP]should we add releasedTimestamp for pv #1024
Comments
It is the kubernetes PV controller that Releases PVs https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/volume/persistentvolume/pv_controller.go#L801. To make sure I understand correctly: you want to leave PVs around with |
@wongma7 in fact, we want to keep them for re-use, but if those released PVs are not reused for a long time or under disk pressure, we need to delete them by cronjob or other ways. |
cc @jian-he |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
background:
when we create PV dynamically by storageclass and released those PV. The remained PV should be cleaned periodically.
If we want automatically delete them by released order, we need a release timestamp in PV resource object.
The text was updated successfully, but these errors were encountered: