github.com/timstclair/heapster@v0.20.0-alpha1/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/pod_example.json (about) 1 { 2 "kind": "Pod", 3 "apiVersion": "v1", 4 "metadata": { 5 "name": "etcd-server-e2e-test-wojtekt-master", 6 "namespace": "default", 7 "selfLink": "/api/v1/namespaces/default/pods/etcd-server-e2e-test-wojtekt-master", 8 "uid": "a671734a-e8e5-11e4-8fde-42010af09327", 9 "resourceVersion": "22", 10 "creationTimestamp": "2015-04-22T11:49:36Z", 11 "annotations": { 12 "kubernetes.io/config.mirror": "mirror", 13 "kubernetes.io/config.source": "file" 14 } 15 }, 16 "spec": { 17 "volumes": [ 18 { 19 "name": "varetcd", 20 "hostPath": { 21 "path": "/mnt/master-pd/var/etcd" 22 }, 23 "emptyDir": null, 24 "gcePersistentDisk": null, 25 "awsElasticBlockStore": null, 26 "gitRepo": null, 27 "secret": null, 28 "nfs": null, 29 "iscsi": null, 30 "glusterfs": null 31 } 32 ], 33 "containers": [ 34 { 35 "name": "etcd-container", 36 "image": "gcr.io/google_containers/etcd:2.0.9", 37 "command": [ 38 "/usr/local/bin/etcd", 39 "--addr", 40 "127.0.0.1:4001", 41 "--bind-addr", 42 "127.0.0.1:4001", 43 "--data-dir", 44 "/var/etcd/data" 45 ], 46 "ports": [ 47 { 48 "name": "serverport", 49 "hostPort": 2380, 50 "containerPort": 2380, 51 "protocol": "TCP" 52 }, 53 { 54 "name": "clientport", 55 "hostPort": 4001, 56 "containerPort": 4001, 57 "protocol": "TCP" 58 } 59 ], 60 "resources": {}, 61 "volumeMounts": [ 62 { 63 "name": "varetcd", 64 "mountPath": "/var/etcd" 65 } 66 ], 67 "terminationMessagePath": "/dev/termination-log", 68 "imagePullPolicy": "IfNotPresent", 69 "capabilities": {} 70 } 71 ], 72 "restartPolicy": "Always", 73 "dnsPolicy": "ClusterFirst", 74 "nodeName": "e2e-test-wojtekt-master", 75 "hostNetwork": true 76 }, 77 "status": { 78 "phase": "Running", 79 "conditions": [ 80 { 81 "type": "Ready", 82 "status": "True" 83 } 84 ], 85 "containerStatuses": [ 86 { 87 "name": "etcd-container", 88 "state": { 89 "running": { 90 "startedAt": "2015-04-22T11:49:32Z" 91 } 92 }, 93 "lastState": {}, 94 "ready": true, 95 "restartCount": 0, 96 "image": "gcr.io/google_containers/etcd:2.0.9", 97 "imageID": "docker://b6b9a86dc06aa1361357ca1b105feba961f6a4145adca6c54e142c0be0fe87b0", 98 "containerID": "docker://3cbbf818f1addfc252957b4504f56ef2907a313fe6afc47fc75373674255d46d" 99 } 100 ] 101 } 102 }