Persistent Volume Definition File

From NovaOrdis Knowledge Base
Revision as of 00:11, 11 May 2017 by Ovidiu (talk | contribs) (Created page with "=Internal= * OpenShft Concepts =Example= <pre> { "apiVersion": "v1", "kind": "PersistentVolume", "metadata":...")
(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"
  }
}