Hi all,
I'm looking for a solution for following problem.
I have two storageclass named ssdstorage and nonsssdstorage. I want PVC from certain projects to use ssdstroage and certain project to use nonssdstorage. Is there anyway we can restrict it?
Thanks
Shrijan
found solution to my problme. We can acheive it by placing quota for storageclass
<storage-class-name>.storageclass.storage.k8s.io/requests.storage
<storage-class-name>.storageclass.storage.k8s.io/persistentvolumeclaims
Ref: https://docs.openshift.com/container-platform/3.11/admin_guide/quota.html
I was wondering if you can also use labels as selectors for storage
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.