I suppose you are currently using dynamic provisioning and want to configure reclaim policy via storageClass for all dyanmically created PVs?
We just had this feature merged in Openshift-3.8 branch where you can configure reclaim policy of all dynamically created PVs. This feature however isn't available in 3.6. We haven't considered backporting the feature back to 3.6 because it involves API change. On Wed, Nov 29, 2017 at 11:57 AM, Walters, Todd <[email protected]> wrote: > We have aws and openshift origin cluster working well and using EBS for > storage for pv’s. I would like to set the default reclaim policy to > ‘retain’ but have not figured out how to set that in my playbooks? > > > > Does anyone know how to change the default persistentVolumeReclaimPolicy > from ‘delete’ to ‘retain’? > > My other option I could use is create the EBS volume manually and then > create the pv-manual.yml file to point to that Vol ID and set the > persistentVolumeReclaimPolicy. But this is not ideal. > > > > I’d also like to set this pv reclaim policy to ‘retain’ for our logging > and metrics persistent storage but have not found setting for this in > playbooks. We’re on v.3.6. > > > > Thank you, > > > > Todd Walters > > [email protected] > > ######################################################################## > The information contained in this message, and any attachments thereto, > is intended solely for the use of the addressee(s) and may contain > confidential and/or privileged material. Any review, retransmission, > dissemination, copying, or other use of the transmitted information is > prohibited. If you received this in error, please contact the sender > and delete the material from any computer. UNIGROUP.COM > ######################################################################## > > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > >
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
