Persistent Volume Definition File

From NovaOrdis Knowledge Base
Revision as of 01:24, 6 February 2018 by Ovidiu (talk | contribs) (→‎Internal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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"
  }
}