PersistentVolume is supported by all TestNF release bits.

Follow the below steps to use PersistentVolume in TestNF release bits.

  • Prepare values.yml to specify declaration of pvcs, volumeMounts, and volumes as following.

pvcs:
- apiVersion: v1
  kind: PersistentVolumeClaim
  metadata:
    name: testnf-pvc
  spec:
    # storageClassName: "vsphere-csi"
    accessModes:
    - ReadWriteOnce
    resources:
      requests:
        storage: 5Gi

volumeMounts:
  testnf:
  - name: testnf-pvc
    mountPath: /data

volumes:
  testnf:
  - name: testnf-pvc
    persistentVolumesClaim:
      claimName: testnf-pvc         
  • Follow Instantiation Page to instantiate testnf csar and select the prepared values.yml.