Difference between revisions of "VolumeMode"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
* https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode
 
* https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode
* <code>[[Filesystem]]</code> or <code>Block</code>
+
* <code>[[Filesystem]]</code> or <code>[[Block]]</code>
  
 
  volumeMode: Filesystem
 
  volumeMode: Filesystem
Line 13: Line 13:
  
 
== See also ==
 
== See also ==
 +
* {{volumeMode}}
 
* {{PVC}}
 
* {{PVC}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 13:01, 15 January 2024

volumeMode: Filesystem


apiVersion: v1
kind: PersistentVolumeClaim
metadata:
 annotations:
   pv.kubernetes.io/bind-completed: "yes"
   pv.kubernetes.io/bound-by-controller: "yes"
   volume.beta.kubernetes.io/storage-provisioner: example.com/aws-efs
 creationTimestamp: "2022-10-27T15:10:12Z"
 finalizers:
 - kubernetes.io/pvc-protection
 managedFields:
 ...
   manager: kube-controller-manager
   operation: Update
   time: "2022-10-27T15:10:13Z"
 name: yourpv
 namespace: mynamespace
 resourceVersion: "719208361"
 [[selfLink: /api/v1/namespaces/mynamespace/persistentvolumeclaims/myvoy
 uid: b3295ba0-0000-123-123-1234567
spec:
 accessModes:
 - ReadWriteOnce
 resources:
   requests:
     storage: 5Gi
 storageClassName: efs
 volumeMode: Filesystem
 volumeName: pvc-1234-1234-1234-1234-123456789
status:
 accessModes:
 - ReadWriteOnce
 capacity:
   storage: 5Gi
 phase: Bound

Related[edit]

See also[edit]

Advertising: