Kubernetes Persistent Volume Manifest: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 19: Line 19:
=.spec Elements=
=.spec Elements=
==accessModes==
==accessModes==
{{Internal|Kubernetes_Storage_Concepts#Access_Mode|Access Mode}}

Revision as of 05:13, 10 December 2019

Internal

Example

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

.spec Elements

accessModes

Access Mode