Persistent Volume Definition File: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 1: Line 1:
=Internal=
=Internal=


* [[OpenShift_Concepts#Persistent_Volume_Definition_File|OpenShft Concepts]]
* [[OpenShift_Volume_Concepts#Persistent_Volume_Definition|OpenShift Volume Concepts]]
* [[OpenShift_Configuration#Core_Objects|OpenShift Configuration]]
* [[OpenShift_Configuration#Core_Objects|OpenShift Configuration]]



Latest revision as of 01:24, 6 February 2018

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"
  }
}