How to use with PersistentVolume or StorageClass?
bukowa opened this issue · 2 comments
bukowa commented
What did you do?
How can i use PersistentVolume
/ StorageClass
with PersistentVolumeClaim
in this driver?
apiVersion: v1
kind: PersistentVolume
---
apiVersion: v1
kind: PersistentVolumeClaim
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
timoreimann commented
Hey there
I'm not 100% sure I understand your question. Let me try to respond generally.
If you define a PVC, a PV will be created (and managed) automatically for you. There's no need to define the PV yourself. We have a walkthrough on how to do that.
One use case that requires creating a PV up front is when you want to import a pre-existing volume. We provide an example explaining the procedure.
If that doesn't answer your question, please share more details on what you intend to do and I'll do my best to help.
bukowa commented
Thank you