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

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
TOMERGE: [[Kubernetes Persistent Volumes (PV)]]
 +
 
* https://kubernetes.io/docs/concepts/storage/persistent-volumes/
 
* https://kubernetes.io/docs/concepts/storage/persistent-volumes/
  
* [[CKA v1.23]]: Understand [[storage classes]], persistent volumes
+
* <code>[[kind: PersistentVolume]]</code>
* [[CKA v1.18]]: Understand [[persistent volumes]] and know how to create them
+
* <code>[[kind]]: [[PersistentVolumeClaim]]</code>
* [[CKA v1.15]]: [[Understand PersistentVolumeClaims for storage]]
+
 
 +
{{kind: PersitentVolume}}
  
  
Line 12: Line 15:
 
== Related terms ==
 
== Related terms ==
 
* [[Volumes (Kubernetes)]]
 
* [[Volumes (Kubernetes)]]
* <code>[[kind]]: PersistentVolume</code>
 
* <code>[[kind]]: [[PersistentVolumeClaim]]</code>
 
 
* [[Kubernetes storage]]
 
* [[Kubernetes storage]]
* [[CKA v1.23]] Understand [[storage classes]], [[persistent volumes]]
 
 
* [[Kubernetes Persistent Volumes (PV)]]
 
* [[Kubernetes Persistent Volumes (PV)]]
  
 
== See also ==
 
== See also ==
 +
* {{K8s PV}}
 
* {{PVC}}
 
* {{PVC}}
 
* {{Kubernetes storage}}
 
* {{Kubernetes storage}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

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: