github.com/timstclair/heapster@v0.20.0-alpha1/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/replication_controller_example.json (about) 1 { 2 "kind": "ReplicationController", 3 "apiVersion": "v1", 4 "metadata": { 5 "name": "elasticsearch-logging-controller", 6 "namespace": "default", 7 "selfLink": "/api/v1/namespaces/default/replicationcontrollers/elasticsearch-logging-controller", 8 "uid": "aa76f162-e8e5-11e4-8fde-42010af09327", 9 "resourceVersion": "98", 10 "creationTimestamp": "2015-04-22T11:49:43Z", 11 "labels": { 12 "kubernetes.io/cluster-service": "true", 13 "name": "elasticsearch-logging" 14 } 15 }, 16 "spec": { 17 "replicas": 1, 18 "selector": { 19 "name": "elasticsearch-logging" 20 }, 21 "template": { 22 "metadata": { 23 "creationTimestamp": null, 24 "labels": { 25 "kubernetes.io/cluster-service": "true", 26 "name": "elasticsearch-logging" 27 } 28 }, 29 "spec": { 30 "volumes": [ 31 { 32 "name": "es-persistent-storage", 33 "hostPath": null, 34 "emptyDir": { 35 "medium": "" 36 }, 37 "gcePersistentDisk": null, 38 "awsElasticBlockStore": null, 39 "gitRepo": null, 40 "secret": null, 41 "nfs": null, 42 "iscsi": null, 43 "glusterfs": null 44 } 45 ], 46 "containers": [ 47 { 48 "name": "elasticsearch-logging", 49 "image": "gcr.io/google_containers/elasticsearch:1.0", 50 "ports": [ 51 { 52 "name": "db", 53 "containerPort": 9200, 54 "protocol": "TCP" 55 }, 56 { 57 "name": "transport", 58 "containerPort": 9300, 59 "protocol": "TCP" 60 } 61 ], 62 "resources": {}, 63 "volumeMounts": [ 64 { 65 "name": "es-persistent-storage", 66 "mountPath": "/data" 67 } 68 ], 69 "terminationMessagePath": "/dev/termination-log", 70 "imagePullPolicy": "IfNotPresent", 71 "capabilities": {} 72 } 73 ], 74 "restartPolicy": "Always", 75 "dnsPolicy": "ClusterFirst" 76 } 77 } 78 }, 79 "status": { 80 "replicas": 1 81 } 82 }