Difference between revisions of "Kubernetes Persistent volumes (PV)"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* https://kubernetes.io/docs/concepts/storage/persistent-volumes/
 
* https://kubernetes.io/docs/concepts/storage/persistent-volumes/
  
 +
* <code>[[kind: PersistentVolume]]</code>
 +
* <code>[[kind]]: [[PersistentVolumeClaim]]</code>
  
  apiVersion: v1
+
  {{kind: PersitentVolume}}
[[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
 
 
 
 
 
  
  

Latest revision as of 11:42, 8 February 2024

TOMERGE: Kubernetes Persistent Volumes (PV)

 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 terms[edit]

Related terms[edit]

See also[edit]

Advertising: