Difference between revisions of "Kind: PersistentVolume"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
+
{{lc}}
 
* https://kubernetes.io/docs/concepts/storage/persistent-volumes/
 
* https://kubernetes.io/docs/concepts/storage/persistent-volumes/
  

Revision as of 12:16, 12 January 2024


apiVersion: v1
kind: PersistentVolume
metadata:
  name: pv0003
spec:
  capacity:
    storage: 5Gi
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Recycle
  storageClassName: slow
  mountOptions:
    - hard
    - nfsvers=4.1
  nfs:
    path: /tmp
    server: 172.17.0.2


Kubernetes Persistent volumes, kind: PersistentVolume (PV), kind: PersistentVolumeClaim (PVC), access mode (ReadWriteOnce, ReadOnlyMany, ReadWriteMany)

Advertising: