kubeflow_persistent_volumes.yaml 810 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ---
  2. apiVersion: v1
  3. kind: PersistentVolume
  4. metadata:
  5. name: data1-pv
  6. spec:
  7. capacity:
  8. storage: 10Gi
  9. accessModes:
  10. - ReadWriteOnce
  11. - ReadOnlyMany
  12. - ReadWriteMany
  13. nfs:
  14. server: 10.0.0.1
  15. path: /work/k8s/data1
  16. persistentVolumeReclaimPolicy: Recycle
  17. ---
  18. apiVersion: v1
  19. kind: PersistentVolume
  20. metadata:
  21. name: data2-pv
  22. spec:
  23. capacity:
  24. storage: 20Gi
  25. accessModes:
  26. - ReadWriteOnce
  27. - ReadOnlyMany
  28. - ReadWriteMany
  29. nfs:
  30. server: 10.0.0.1
  31. path: /work/k8s/data2
  32. persistentVolumeReclaimPolicy: Recycle
  33. ---
  34. apiVersion: v1
  35. kind: PersistentVolume
  36. metadata:
  37. name: data3-pv
  38. spec:
  39. capacity:
  40. storage: 50Gi
  41. accessModes:
  42. - ReadWriteOnce
  43. - ReadOnlyMany
  44. - ReadWriteMany
  45. nfs:
  46. server: 10.0.0.1
  47. path: /work/k8s/data3
  48. persistentVolumeReclaimPolicy: Recycle