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

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