Kubernetes Persistent Volume Manifest

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Example

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

.spec Elements

accessModes

Access Mode

storageClassName

Reclaim Policy

persistentVolumeReclaimPolicy