Persistent Volume Definition File

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Example

{
  "apiVersion": "v1",
  "kind": "PersistentVolume",
  "metadata": {
    "name": "volume1"
  },
  "spec": {
    "capacity": {
        "storage": "1Gi"
    },
    "accessModes": [ "ReadWriteOnce" ],
    "nfs": {
        "path": "/exports/volume1",
        "server": "1.2.3.4"
    },
    "persistentVolumeReclaimPolicy": "Recycle"
  }
}