miq-pv-server-example.yaml 886 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. apiVersion: v1
  2. kind: Template
  3. labels:
  4. template: manageiq-app-pv
  5. metadata:
  6. name: manageiq-app-pv
  7. annotations:
  8. description: PV Template for MIQ Server
  9. tags: PVS, MIQ
  10. objects:
  11. - apiVersion: v1
  12. kind: PersistentVolume
  13. metadata:
  14. name: miq-app
  15. spec:
  16. capacity:
  17. storage: "${PV_SIZE}"
  18. accessModes:
  19. - ReadWriteOnce
  20. nfs:
  21. path: "${BASE_PATH}/miq-app"
  22. server: "${NFS_HOST}"
  23. persistentVolumeReclaimPolicy: Retain
  24. parameters:
  25. - name: PV_SIZE
  26. displayName: PV Size for App
  27. required: true
  28. description: The size of the MIQ APP PV given in Gi
  29. value: 5Gi
  30. - name: BASE_PATH
  31. displayName: Exports Directory Base Path
  32. required: true
  33. description: The parent directory of your NFS exports
  34. value: "/exports"
  35. - name: NFS_HOST
  36. displayName: NFS Server Hostname
  37. required: true
  38. description: The hostname or IP address of the NFS server