gluster / gluster-subvol

Subdirectories of Gluster volumes as PVs in Kubernetes and OpenShift
Apache License 2.0
11 stars 6 forks source link

Make sure recycler gets exclusive use of supervol PV #2

Closed JohnStrunk closed 6 years ago

JohnStrunk commented 6 years ago

The recycler needs to get bound to a specific PV, and that PV must never get claimed by any other PVC.

Currently, I'm using a unique storage class name as a work-around, but this is incorrect. I should be using volumeName in the PVC and claimRef in the PV.

https://docs.openshift.org/latest/dev_guide/persistent_volumes.html#persistent-volumes-volumes-and-claim-prebinding