Difference between revisions of "Kind: PersistentVolume"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* https://kubernetes.io/docs/concepts/storage/persistent-volumes/
 
* https://kubernetes.io/docs/concepts/storage/persistent-volumes/
  
 +
{{kind: PersitentVolume}}
  
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
 
  
 
== Related ==
 
== Related ==

Revision as of 11:23, 2 February 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


Related

See also

Advertising: