There is a way to pre-bind PVs to PVCs today, here is an example showing how:
- Create a PV object with a ClaimRef field referencing a PVC that you will subsequently create
where$ kubectl create -f pv.yaml persistentvolume "pv0003" created
pv.yaml
contains
…apiVersion: v1 kind: PersistentVolume metadata name: pv0003
Top comments (0)