Welcome to mirror list, hosted at ThFree Co, Russian Federation.

persistent_volume.json « json « test « kubeclient « gems « vendor - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 612d9df1564e56b647f41baad4e4e9e9de85d635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  "kind": "PersistentVolume",
  "apiVersion": "v1",
  "metadata": {
    "name": "pv0001",
    "selfLink": "/api/v1/persistentvolumes/pv0001",
    "uid": "c83eece1-4b38-11e5-8d27-28d2447dcefe",
    "resourceVersion": "1585",
    "creationTimestamp": "2015-08-25T14:51:35Z",
    "labels": {
      "type": "local"
    }
  },
  "spec": {
    "capacity": {
      "storage": "10Gi"
    },
    "hostPath": {
      "path": "/tmp/data01"
    },
    "accessModes": [
      "ReadWriteOnce"
    ],
    "claimRef": {
      "kind": "PersistentVolumeClaim",
      "namespace": "default",
      "name": "myclaim-1",
      "uid": "d47384a3-4b38-11e5-8d27-28d2447dcefe",
      "apiVersion": "v1",
      "resourceVersion": "1582"
    },
    "persistentVolumeReclaimPolicy": "Retain"
  },
  "status": {
    "phase": "Bound"
  }
}