Hide Forgot
Description of request: Currently only NFS supports Physical Volume recycling. This request is to implement a plugin to recycle Gluster volumes after they're released to improve usability of this volume type.
it may also help if the official documentation didn't reference Recycle in the example https://docs.openshift.com/enterprise/3.2/install_config/persistent_storage/persistent_storage_glusterfs.html#gfs-creating-persistent-volume apiVersion: v1 kind: PersistentVolume metadata: name: gluster-default-volume spec: capacity: storage: 2Gi accessModes: - ReadWriteMany glusterfs: endpoints: glusterfs-cluster path: myVol1 readOnly: false persistentVolumeReclaimPolicy: Recycle
Ack to Mike's comments. https://docs.openshift.com/enterprise/3.2/architecture/additional_concepts/storage.html#pv-recycling-policy specifies that only NFS and Hostpath currently support Recycle. This contradicts the Gluster example Mike posted above.
GlusterFS Persistent Volumes are not going to support Recycling. The recommended approach is to create them manually and use the Retain policy or use the GlusterFS Dynamic Provisioner and create the volumes on demand when a claim is submitted and delete them dynamically when the claim is released.