Kubernetes Persistent Volume Manifest: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:
   persistentVolumeReclaimPolicy: Retain
   persistentVolumeReclaimPolicy: Retain
   ...
   ...
=.spec Elements=
==accessMode==

Revision as of 04:59, 10 December 2019

Internal

Example

apiVersion: v1
kind: PersistentVolume
metadata:
  name: blue
spec:
  accessModes:
  - RedWriteOnce
  storageClassName: test
  capacity:
    storage: 10Gi
  persistentVolumeReclaimPolicy: Retain
  ...

.spec Elements

accessMode