pv.yaml 255 B

123456789101112131415
  1. apiVersion: v1
  2. kind: PersistentVolume
  3. metadata:
  4. name: monitoring-pv
  5. spec:
  6. storageClassName: manual
  7. capacity:
  8. storage: 50Gi
  9. accessModes:
  10. - ReadWriteOnce
  11. nfs:
  12. path: /volume1/NFS/monitoring
  13. server: 192.168.2.44
  14. readOnly: false