Created
May 21, 2015 17:32
-
-
Save cianclarke/5b685c5a6bc2cc448667 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| helper.go: &{Host:https://openshift-master.fh.paas.ninja:8443 Prefix:/api Version:v1beta3 LegacyBehavior:false Codec:0xc2080580e0 Username: Password: BearerToken:YjllYTk5NDItNTFlYS00ZjQ2LWI5ZjYtNWM1OTViZDQ4NDRi TLSClientConfig:{CertFile: KeyFile: CAFile: CertData:[] KeyData:[] CAData:[]} Insecure:true UserAgent:osc/v0.16.2 (darwin/amd64) kubernetes/c07896e Transport:<nil> WrapTransport:<nil> QPS:5 Burst:10} | |
| GETGET | |
| ------------------------------ | |
| GET https://openshift-master.fh.paas.ninja:8443/api/v1beta3/namespaces/demo1/pods | |
| map[] | |
| ------------------------------ | |
| transport.go: YjllYTk5NDItNTFlYS00ZjQ2LWI5ZjYtNWM1OTViZDQ4NDRi | |
| 200 | |
| &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Type:[application/json] Date:[Thu, 21 May 2015 17:32:10 GMT]] Body:0xc208418040 ContentLength:-1 TransferEncoding:[chunked] Close:false Trailer:map[] Request:0xc208309c70 TLS:0xc2083b8540} | |
| helper.go: &{Host:https://openshift-master.fh.paas.ninja:8443 Prefix:/api Version:v1beta1 LegacyBehavior:true Codec:0xc208059aa0 Username: Password: BearerToken:YjllYTk5NDItNTFlYS00ZjQ2LWI5ZjYtNWM1OTViZDQ4NDRi TLSClientConfig:{CertFile: KeyFile: CAFile: CertData:[] KeyData:[] CAData:[]} Insecure:true UserAgent:osc/v0.16.2 (darwin/amd64) kubernetes/c07896e Transport:<nil> WrapTransport:<nil> QPS:5 Burst:10} | |
| { | |
| "kind": "List", | |
| "apiVersion": "v1beta3", | |
| "metadata": {}, | |
| "items": [ | |
| { | |
| "kind": "Pod", | |
| "apiVersion": "v1beta3", | |
| "metadata": { | |
| "name": "database-2-q01m2", | |
| "generateName": "database-2-", | |
| "namespace": "demo1", | |
| "selfLink": "/api/v1beta3/namespaces/demo1/pods/database-2-q01m2", | |
| "uid": "95d07696-ffdc-11e4-a359-0a405f05257f", | |
| "resourceVersion": "9914", | |
| "creationTimestamp": "2015-05-21T17:12:39Z", | |
| "labels": { | |
| "deployment": "database-2", | |
| "deploymentconfig": "database", | |
| "name": "database", | |
| "template": "application-template-stibuild" | |
| }, | |
| "annotations": { | |
| "deployment": "database-2", | |
| "deploymentConfig": "database", | |
| "deploymentVersion": "2" | |
| } | |
| }, | |
| "spec": { | |
| "volumes": null, | |
| "containers": [ | |
| { | |
| "name": "frontend-database", | |
| "image": "openshift/mongodb-24-centos7", | |
| "ports": [ | |
| { | |
| "containerPort": 27017, | |
| "protocol": "TCP" | |
| } | |
| ], | |
| "env": [ | |
| { | |
| "name": "MONGODB_USER", | |
| "value": "${MONGODB_USER}" | |
| }, | |
| { | |
| "name": "MONGODB_PASSWORD", | |
| "value": "${MONGODB_PASSWORD}" | |
| }, | |
| { | |
| "name": "MONGODB_DATABASE", | |
| "value": "${MONGODB_DATABASE}" | |
| }, | |
| { | |
| "name": "MONGODB_ADMIN_PASSWORD", | |
| "value": "${MONGODB_ADMIN_PASSWORD}" | |
| } | |
| ], | |
| "resources": {}, | |
| "terminationMessagePath": "/dev/termination-log", | |
| "imagePullPolicy": "IfNotPresent", | |
| "capabilities": {} | |
| } | |
| ], | |
| "restartPolicy": "Always", | |
| "dnsPolicy": "ClusterFirst", | |
| "host": "ip-172-19-44-148.ec2.internal" | |
| }, | |
| "status": { | |
| "phase": "Running", | |
| "Condition": [ | |
| { | |
| "type": "Ready", | |
| "status": "True" | |
| } | |
| ], | |
| "hostIP": "172.19.44.148", | |
| "podIP": "10.1.0.10", | |
| "containerStatuses": [ | |
| { | |
| "name": "frontend-database", | |
| "state": { | |
| "running": { | |
| "startedAt": "2015-05-21T17:31:59Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": true, | |
| "restartCount": 127, | |
| "image": "openshift/mongodb-24-centos7", | |
| "imageID": "docker://0a3eddc4fef5b39037c2166e4e70985920edd14aa73b41c9497b018b5650ccac", | |
| "containerID": "docker://b897da309bce4b2ffbd216f0df99b0942c2085a2e078ad24d0c188dc2a2cd954" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "kind": "Pod", | |
| "apiVersion": "v1beta3", | |
| "metadata": { | |
| "name": "nodejs-sample-build-1", | |
| "namespace": "demo1", | |
| "selfLink": "/api/v1beta3/namespaces/demo1/pods/nodejs-sample-build-1", | |
| "uid": "68aa1542-ffcd-11e4-a359-0a405f05257f", | |
| "resourceVersion": "6786", | |
| "creationTimestamp": "2015-05-21T15:24:01Z", | |
| "labels": { | |
| "build": "nodejs-sample-build-1", | |
| "buildconfig": "nodejs-sample-build", | |
| "name": "nodejs-sample-build", | |
| "template": "application-template-stibuild" | |
| } | |
| }, | |
| "spec": { | |
| "volumes": [ | |
| { | |
| "name": "docker-socket", | |
| "hostPath": { | |
| "path": "/var/run/docker.sock" | |
| }, | |
| "emptyDir": null, | |
| "gcePersistentDisk": null, | |
| "awsElasticBlockStore": null, | |
| "gitRepo": null, | |
| "secret": null, | |
| "nfs": null, | |
| "iscsi": null, | |
| "glusterfs": null | |
| } | |
| ], | |
| "containers": [ | |
| { | |
| "name": "sti-build", | |
| "image": "openshift3_beta/ose-sti-builder:v0.4.3.2", | |
| "args": [ | |
| "--loglevel=4" | |
| ], | |
| "env": [ | |
| { | |
| "name": "BUILD", | |
| "value": "{\"kind\":\"Build\",\"apiVersion\":\"v1beta1\",\"metadata\":{\"name\":\"nodejs-sample-build-1\",\"namespace\":\"demo1\",\"selfLink\":\"/osapi/v1beta1/builds/nodejs-sample-build-1?namespace=demo1\",\"uid\":\"68700426-ffcd-11e4-a359-0a405f05257f\",\"resourceVersion\":\"6745\",\"creationTimestamp\":\"2015-05-21T15:24:01Z\",\"labels\":{\"buildconfig\":\"nodejs-sample-build\",\"name\":\"nodejs-sample-build\",\"template\":\"application-template-stibuild\"}},\"parameters\":{\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"git://github.com/cianclarke/helloworld-cloud.git\"}},\"strategy\":{\"type\":\"STI\",\"stiStrategy\":{\"builderImage\":\"openshift/nodejs-010-centos7\",\"image\":\"openshift/nodejs-010-centos7\"}},\"output\":{\"to\":{\"kind\":\"ImageStream\",\"name\":\"origin-nodejs-sample\"},\"dockerImageReference\":\"172.30.17.117:5000/demo1/origin-nodejs-sample\",\"imageTag\":\"demo1/origin-nodejs-sample\",\"registry\":\"172.30.17.117:5000\"}},\"status\":\"Pending\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"demo1\",\"name\":\"nodejs-sample-build\"}}" | |
| }, | |
| { | |
| "name": "SOURCE_REPOSITORY", | |
| "value": "git://github.com/cianclarke/helloworld-cloud.git" | |
| }, | |
| { | |
| "name": "BUILD_LOGLEVEL", | |
| "value": "4" | |
| } | |
| ], | |
| "resources": {}, | |
| "volumeMounts": [ | |
| { | |
| "name": "docker-socket", | |
| "mountPath": "/var/run/docker.sock" | |
| } | |
| ], | |
| "terminationMessagePath": "/dev/termination-log", | |
| "privileged": true, | |
| "imagePullPolicy": "IfNotPresent", | |
| "capabilities": {} | |
| } | |
| ], | |
| "restartPolicy": "Never", | |
| "dnsPolicy": "ClusterFirst", | |
| "host": "ip-172-19-44-149.ec2.internal" | |
| }, | |
| "status": { | |
| "phase": "Failed", | |
| "Condition": [ | |
| { | |
| "type": "Ready", | |
| "status": "False" | |
| } | |
| ], | |
| "hostIP": "172.19.44.149", | |
| "containerStatuses": [ | |
| { | |
| "name": "sti-build", | |
| "state": { | |
| "termination": { | |
| "exitCode": 255, | |
| "startedAt": "2015-05-21T15:24:07Z", | |
| "finishedAt": "2015-05-21T15:25:50Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": false, | |
| "restartCount": 0, | |
| "image": "openshift3_beta/ose-sti-builder:v0.4.3.2", | |
| "imageID": "docker://742da2b20b11d7c09bf35c61ed123f4348feac93b7b1e1a9a0aab47426164dae", | |
| "containerID": "docker://2329fe7bcbbed68bc7c7f5bc23815b627fe1a109c8c454b862035f6c585b9572" | |
| }, | |
| { | |
| "name": "POD", | |
| "state": { | |
| "termination": { | |
| "exitCode": 0, | |
| "startedAt": "2015-05-21T15:24:03Z", | |
| "finishedAt": "2015-05-21T15:25:52Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": false, | |
| "restartCount": 0, | |
| "image": "openshift3_beta/ose-pod:v0.4.3.2", | |
| "imageID": "docker://a893cdd698ea07eeead935596394e2c91cf2c0c6ea391e3ad9b8910131249dc3", | |
| "containerID": "docker://c3df415df0b387d8b0a478f3a93a9236c0290fb871b8e948e4e1ccc1b2d70aed" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "kind": "Pod", | |
| "apiVersion": "v1beta3", | |
| "metadata": { | |
| "name": "nodejs-sample-build-2", | |
| "namespace": "demo1", | |
| "selfLink": "/api/v1beta3/namespaces/demo1/pods/nodejs-sample-build-2", | |
| "uid": "c4fa770b-ffcf-11e4-a359-0a405f05257f", | |
| "resourceVersion": "9918", | |
| "creationTimestamp": "2015-05-21T15:40:55Z", | |
| "labels": { | |
| "build": "nodejs-sample-build-2", | |
| "buildconfig": "nodejs-sample-build", | |
| "name": "nodejs-sample-build", | |
| "template": "application-template-stibuild" | |
| } | |
| }, | |
| "spec": { | |
| "volumes": [ | |
| { | |
| "name": "docker-socket", | |
| "hostPath": { | |
| "path": "/var/run/docker.sock" | |
| }, | |
| "emptyDir": null, | |
| "gcePersistentDisk": null, | |
| "awsElasticBlockStore": null, | |
| "gitRepo": null, | |
| "secret": null, | |
| "nfs": null, | |
| "iscsi": null, | |
| "glusterfs": null | |
| } | |
| ], | |
| "containers": [ | |
| { | |
| "name": "sti-build", | |
| "image": "openshift3_beta/ose-sti-builder:v0.4.3.2", | |
| "args": [ | |
| "--loglevel=4" | |
| ], | |
| "env": [ | |
| { | |
| "name": "BUILD", | |
| "value": "{\"kind\":\"Build\",\"apiVersion\":\"v1beta1\",\"metadata\":{\"name\":\"nodejs-sample-build-2\",\"namespace\":\"demo1\",\"selfLink\":\"/osapi/v1beta1/builds/nodejs-sample-build-2?namespace=demo1\",\"uid\":\"c4312c00-ffcf-11e4-a359-0a405f05257f\",\"resourceVersion\":\"7170\",\"creationTimestamp\":\"2015-05-21T15:40:54Z\",\"labels\":{\"buildconfig\":\"nodejs-sample-build\",\"name\":\"nodejs-sample-build\",\"template\":\"application-template-stibuild\"}},\"parameters\":{\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"git://github.com/cianclarke/helloworld-cloud.git\"}},\"strategy\":{\"type\":\"STI\",\"stiStrategy\":{\"builderImage\":\"openshift/nodejs-010-centos7\",\"image\":\"openshift/nodejs-010-centos7\"}},\"output\":{\"to\":{\"kind\":\"ImageStream\",\"name\":\"origin-nodejs-sample\"},\"dockerImageReference\":\"172.30.17.117:5000/demo1/origin-nodejs-sample\",\"imageTag\":\"demo1/origin-nodejs-sample\",\"registry\":\"172.30.17.117:5000\"}},\"status\":\"Pending\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"demo1\",\"name\":\"nodejs-sample-build\"}}" | |
| }, | |
| { | |
| "name": "SOURCE_REPOSITORY", | |
| "value": "git://github.com/cianclarke/helloworld-cloud.git" | |
| }, | |
| { | |
| "name": "BUILD_LOGLEVEL", | |
| "value": "4" | |
| } | |
| ], | |
| "resources": {}, | |
| "volumeMounts": [ | |
| { | |
| "name": "docker-socket", | |
| "mountPath": "/var/run/docker.sock" | |
| } | |
| ], | |
| "terminationMessagePath": "/dev/termination-log", | |
| "privileged": true, | |
| "imagePullPolicy": "IfNotPresent", | |
| "capabilities": {} | |
| } | |
| ], | |
| "restartPolicy": "Never", | |
| "dnsPolicy": "ClusterFirst", | |
| "host": "ip-172-19-44-149.ec2.internal" | |
| }, | |
| "status": { | |
| "phase": "Succeeded", | |
| "Condition": [ | |
| { | |
| "type": "Ready", | |
| "status": "False" | |
| } | |
| ], | |
| "hostIP": "172.19.44.149", | |
| "containerStatuses": [ | |
| { | |
| "name": "sti-build", | |
| "state": { | |
| "termination": { | |
| "exitCode": 0, | |
| "startedAt": "2015-05-21T15:40:57Z", | |
| "finishedAt": "2015-05-21T15:44:30Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": false, | |
| "restartCount": 0, | |
| "image": "openshift3_beta/ose-sti-builder:v0.4.3.2", | |
| "imageID": "docker://742da2b20b11d7c09bf35c61ed123f4348feac93b7b1e1a9a0aab47426164dae", | |
| "containerID": "docker://ced272136ab1cdf610b7a7fedf1b031f7199b02f8d940f8972e2b2f94f0961ca" | |
| }, | |
| { | |
| "name": "POD", | |
| "state": { | |
| "termination": { | |
| "exitCode": 0, | |
| "startedAt": "2015-05-21T15:40:56Z", | |
| "finishedAt": "2015-05-21T15:44:31Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": false, | |
| "restartCount": 0, | |
| "image": "openshift3_beta/ose-pod:v0.4.3.2", | |
| "imageID": "docker://a893cdd698ea07eeead935596394e2c91cf2c0c6ea391e3ad9b8910131249dc3", | |
| "containerID": "docker://14b8f38d14504b302831ab3c2356fb9911258fa605d4fde15d8ad941a6fc1750" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "kind": "Pod", | |
| "apiVersion": "v1beta3", | |
| "metadata": { | |
| "name": "nodejs-sample-build-3", | |
| "namespace": "demo1", | |
| "selfLink": "/api/v1beta3/namespaces/demo1/pods/nodejs-sample-build-3", | |
| "uid": "fecdb992-ffd4-11e4-a359-0a405f05257f", | |
| "resourceVersion": "9915", | |
| "creationTimestamp": "2015-05-21T16:18:20Z", | |
| "labels": { | |
| "build": "nodejs-sample-build-3", | |
| "buildconfig": "nodejs-sample-build", | |
| "name": "nodejs-sample-build", | |
| "template": "application-template-stibuild" | |
| } | |
| }, | |
| "spec": { | |
| "volumes": [ | |
| { | |
| "name": "docker-socket", | |
| "hostPath": { | |
| "path": "/var/run/docker.sock" | |
| }, | |
| "emptyDir": null, | |
| "gcePersistentDisk": null, | |
| "awsElasticBlockStore": null, | |
| "gitRepo": null, | |
| "secret": null, | |
| "nfs": null, | |
| "iscsi": null, | |
| "glusterfs": null | |
| } | |
| ], | |
| "containers": [ | |
| { | |
| "name": "sti-build", | |
| "image": "openshift3_beta/ose-sti-builder:v0.4.3.2", | |
| "args": [ | |
| "--loglevel=4" | |
| ], | |
| "env": [ | |
| { | |
| "name": "BUILD", | |
| "value": "{\"kind\":\"Build\",\"apiVersion\":\"v1beta1\",\"metadata\":{\"name\":\"nodejs-sample-build-3\",\"namespace\":\"demo1\",\"selfLink\":\"/osapi/v1beta1/builds/nodejs-sample-build-3?namespace=demo1\",\"uid\":\"fec7dc3a-ffd4-11e4-a359-0a405f05257f\",\"resourceVersion\":\"7773\",\"creationTimestamp\":\"2015-05-21T16:18:20Z\",\"labels\":{\"buildconfig\":\"nodejs-sample-build\",\"name\":\"nodejs-sample-build\",\"template\":\"application-template-stibuild\"}},\"parameters\":{\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"git://github.com/cianclarke/helloworld-cloud.git\"}},\"strategy\":{\"type\":\"STI\",\"stiStrategy\":{\"builderImage\":\"openshift/nodejs-010-centos7\",\"image\":\"openshift/nodejs-010-centos7\"}},\"output\":{\"to\":{\"kind\":\"ImageStream\",\"name\":\"origin-nodejs-sample\"},\"dockerImageReference\":\"172.30.17.117:5000/demo1/origin-nodejs-sample\",\"imageTag\":\"demo1/origin-nodejs-sample\",\"registry\":\"172.30.17.117:5000\"}},\"status\":\"Pending\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"demo1\",\"name\":\"nodejs-sample-build\"}}" | |
| }, | |
| { | |
| "name": "SOURCE_REPOSITORY", | |
| "value": "git://github.com/cianclarke/helloworld-cloud.git" | |
| }, | |
| { | |
| "name": "BUILD_LOGLEVEL", | |
| "value": "4" | |
| } | |
| ], | |
| "resources": {}, | |
| "volumeMounts": [ | |
| { | |
| "name": "docker-socket", | |
| "mountPath": "/var/run/docker.sock" | |
| } | |
| ], | |
| "terminationMessagePath": "/dev/termination-log", | |
| "privileged": true, | |
| "imagePullPolicy": "IfNotPresent", | |
| "capabilities": {} | |
| } | |
| ], | |
| "restartPolicy": "Never", | |
| "dnsPolicy": "ClusterFirst", | |
| "host": "ip-172-19-44-148.ec2.internal" | |
| }, | |
| "status": { | |
| "phase": "Succeeded", | |
| "Condition": [ | |
| { | |
| "type": "Ready", | |
| "status": "False" | |
| } | |
| ], | |
| "hostIP": "172.19.44.148", | |
| "containerStatuses": [ | |
| { | |
| "name": "sti-build", | |
| "state": { | |
| "termination": { | |
| "exitCode": 0, | |
| "startedAt": "2015-05-21T16:18:27Z", | |
| "finishedAt": "2015-05-21T16:21:32Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": false, | |
| "restartCount": 0, | |
| "image": "openshift3_beta/ose-sti-builder:v0.4.3.2", | |
| "imageID": "docker://742da2b20b11d7c09bf35c61ed123f4348feac93b7b1e1a9a0aab47426164dae", | |
| "containerID": "docker://fc49888687856b4d27934de385ef9e0eddde7ca3dcf32a8da191c55833077a23" | |
| }, | |
| { | |
| "name": "POD", | |
| "state": { | |
| "termination": { | |
| "exitCode": 0, | |
| "startedAt": "2015-05-21T16:18:21Z", | |
| "finishedAt": "2015-05-21T16:21:33Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": false, | |
| "restartCount": 0, | |
| "image": "openshift3_beta/ose-pod:v0.4.3.2", | |
| "imageID": "docker://a893cdd698ea07eeead935596394e2c91cf2c0c6ea391e3ad9b8910131249dc3", | |
| "containerID": "docker://aeb7a0b1959d3af0f104113551c3d98565db4dec7c24e0172c25f256566a73dd" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "kind": "Pod", | |
| "apiVersion": "v1beta3", | |
| "metadata": { | |
| "name": "nodejs-sample-build-4", | |
| "namespace": "demo1", | |
| "selfLink": "/api/v1beta3/namespaces/demo1/pods/nodejs-sample-build-4", | |
| "uid": "9e56991c-ffd7-11e4-a359-0a405f05257f", | |
| "resourceVersion": "9909", | |
| "creationTimestamp": "2015-05-21T16:37:06Z", | |
| "labels": { | |
| "build": "nodejs-sample-build-4", | |
| "buildconfig": "nodejs-sample-build", | |
| "name": "nodejs-sample-build", | |
| "template": "application-template-stibuild" | |
| } | |
| }, | |
| "spec": { | |
| "volumes": [ | |
| { | |
| "name": "docker-socket", | |
| "hostPath": { | |
| "path": "/var/run/docker.sock" | |
| }, | |
| "emptyDir": null, | |
| "gcePersistentDisk": null, | |
| "awsElasticBlockStore": null, | |
| "gitRepo": null, | |
| "secret": null, | |
| "nfs": null, | |
| "iscsi": null, | |
| "glusterfs": null | |
| } | |
| ], | |
| "containers": [ | |
| { | |
| "name": "sti-build", | |
| "image": "openshift3_beta/ose-sti-builder:v0.4.3.2", | |
| "args": [ | |
| "--loglevel=4" | |
| ], | |
| "env": [ | |
| { | |
| "name": "BUILD", | |
| "value": "{\"kind\":\"Build\",\"apiVersion\":\"v1beta1\",\"metadata\":{\"name\":\"nodejs-sample-build-4\",\"namespace\":\"demo1\",\"selfLink\":\"/osapi/v1beta1/builds/nodejs-sample-build-4?namespace=demo1\",\"uid\":\"9e508f2c-ffd7-11e4-a359-0a405f05257f\",\"resourceVersion\":\"8160\",\"creationTimestamp\":\"2015-05-21T16:37:06Z\",\"labels\":{\"buildconfig\":\"nodejs-sample-build\",\"name\":\"nodejs-sample-build\",\"template\":\"application-template-stibuild\"}},\"parameters\":{\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"git://github.com/cianclarke/helloworld-cloud.git\"}},\"strategy\":{\"type\":\"STI\",\"stiStrategy\":{\"builderImage\":\"openshift/nodejs-010-centos7\",\"image\":\"openshift/nodejs-010-centos7\"}},\"output\":{\"to\":{\"kind\":\"ImageStream\",\"name\":\"frontend\"},\"dockerImageReference\":\"172.30.17.117:5000/demo1/frontend\",\"imageTag\":\"demo1/frontend\",\"registry\":\"172.30.17.117:5000\"}},\"status\":\"Pending\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"demo1\",\"name\":\"nodejs-sample-build\"}}" | |
| }, | |
| { | |
| "name": "SOURCE_REPOSITORY", | |
| "value": "git://github.com/cianclarke/helloworld-cloud.git" | |
| }, | |
| { | |
| "name": "BUILD_LOGLEVEL", | |
| "value": "4" | |
| } | |
| ], | |
| "resources": {}, | |
| "volumeMounts": [ | |
| { | |
| "name": "docker-socket", | |
| "mountPath": "/var/run/docker.sock" | |
| } | |
| ], | |
| "terminationMessagePath": "/dev/termination-log", | |
| "privileged": true, | |
| "imagePullPolicy": "IfNotPresent", | |
| "capabilities": {} | |
| } | |
| ], | |
| "restartPolicy": "Never", | |
| "dnsPolicy": "ClusterFirst", | |
| "host": "ip-172-19-44-149.ec2.internal" | |
| }, | |
| "status": { | |
| "phase": "Succeeded", | |
| "Condition": [ | |
| { | |
| "type": "Ready", | |
| "status": "False" | |
| } | |
| ], | |
| "hostIP": "172.19.44.149", | |
| "containerStatuses": [ | |
| { | |
| "name": "sti-build", | |
| "state": { | |
| "termination": { | |
| "exitCode": 0, | |
| "startedAt": "2015-05-21T16:37:08Z", | |
| "finishedAt": "2015-05-21T16:39:27Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": false, | |
| "restartCount": 0, | |
| "image": "openshift3_beta/ose-sti-builder:v0.4.3.2", | |
| "imageID": "docker://742da2b20b11d7c09bf35c61ed123f4348feac93b7b1e1a9a0aab47426164dae", | |
| "containerID": "docker://c105adf90f60296b67cb47a5ca497c4145e6f50f196537d078be16fe669c8bee" | |
| }, | |
| { | |
| "name": "POD", | |
| "state": { | |
| "termination": { | |
| "exitCode": 0, | |
| "startedAt": "2015-05-21T16:37:07Z", | |
| "finishedAt": "2015-05-21T16:39:31Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": false, | |
| "restartCount": 0, | |
| "image": "openshift3_beta/ose-pod:v0.4.3.2", | |
| "imageID": "docker://a893cdd698ea07eeead935596394e2c91cf2c0c6ea391e3ad9b8910131249dc3", | |
| "containerID": "docker://32e06038389a89e42e71b1030dd892f59bec11aba818fc08568bfaa5aa609cd0" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "kind": "Pod", | |
| "apiVersion": "v1beta3", | |
| "metadata": { | |
| "name": "nodejs-sample-build-5", | |
| "namespace": "demo1", | |
| "selfLink": "/api/v1beta3/namespaces/demo1/pods/nodejs-sample-build-5", | |
| "uid": "b3612731-ffdc-11e4-a359-0a405f05257f", | |
| "resourceVersion": "9903", | |
| "creationTimestamp": "2015-05-21T17:13:29Z", | |
| "labels": { | |
| "build": "nodejs-sample-build-5", | |
| "buildconfig": "nodejs-sample-build", | |
| "name": "nodejs-sample-build" | |
| } | |
| }, | |
| "spec": { | |
| "volumes": [ | |
| { | |
| "name": "docker-socket", | |
| "hostPath": { | |
| "path": "/var/run/docker.sock" | |
| }, | |
| "emptyDir": null, | |
| "gcePersistentDisk": null, | |
| "awsElasticBlockStore": null, | |
| "gitRepo": null, | |
| "secret": null, | |
| "nfs": null, | |
| "iscsi": null, | |
| "glusterfs": null | |
| } | |
| ], | |
| "containers": [ | |
| { | |
| "name": "sti-build", | |
| "image": "openshift3_beta/ose-sti-builder:v0.4.3.2", | |
| "args": [ | |
| "--loglevel=4" | |
| ], | |
| "env": [ | |
| { | |
| "name": "BUILD", | |
| "value": "{\"kind\":\"Build\",\"apiVersion\":\"v1beta1\",\"metadata\":{\"name\":\"nodejs-sample-build-5\",\"namespace\":\"demo1\",\"selfLink\":\"/osapi/v1beta1/builds/nodejs-sample-build-5?namespace=demo1\",\"uid\":\"b35b2cfa-ffdc-11e4-a359-0a405f05257f\",\"resourceVersion\":\"9172\",\"creationTimestamp\":\"2015-05-21T17:13:29Z\",\"labels\":{\"buildconfig\":\"nodejs-sample-build\",\"name\":\"nodejs-sample-build\"}},\"parameters\":{\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"git://github.com/cianclarke/helloworld-cloud.git\"}},\"strategy\":{\"type\":\"STI\",\"stiStrategy\":{\"builderImage\":\"openshift/nodejs-010-centos7\",\"image\":\"openshift/nodejs-010-centos7\"}},\"output\":{\"to\":{\"kind\":\"ImageStream\",\"name\":\"frontend\"},\"dockerImageReference\":\"172.30.17.117:5000/demo1/frontend\",\"imageTag\":\"demo1/frontend\",\"registry\":\"172.30.17.117:5000\"}},\"status\":\"Pending\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"demo1\",\"name\":\"nodejs-sample-build\"}}" | |
| }, | |
| { | |
| "name": "SOURCE_REPOSITORY", | |
| "value": "git://github.com/cianclarke/helloworld-cloud.git" | |
| }, | |
| { | |
| "name": "BUILD_LOGLEVEL", | |
| "value": "4" | |
| } | |
| ], | |
| "resources": {}, | |
| "volumeMounts": [ | |
| { | |
| "name": "docker-socket", | |
| "mountPath": "/var/run/docker.sock" | |
| } | |
| ], | |
| "terminationMessagePath": "/dev/termination-log", | |
| "privileged": true, | |
| "imagePullPolicy": "IfNotPresent", | |
| "capabilities": {} | |
| } | |
| ], | |
| "restartPolicy": "Never", | |
| "dnsPolicy": "ClusterFirst", | |
| "host": "ip-172-19-44-148.ec2.internal" | |
| }, | |
| "status": { | |
| "phase": "Succeeded", | |
| "Condition": [ | |
| { | |
| "type": "Ready", | |
| "status": "False" | |
| } | |
| ], | |
| "hostIP": "172.19.44.148", | |
| "containerStatuses": [ | |
| { | |
| "name": "sti-build", | |
| "state": { | |
| "termination": { | |
| "exitCode": 0, | |
| "startedAt": "2015-05-21T17:13:31Z", | |
| "finishedAt": "2015-05-21T17:16:07Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": false, | |
| "restartCount": 0, | |
| "image": "openshift3_beta/ose-sti-builder:v0.4.3.2", | |
| "imageID": "docker://742da2b20b11d7c09bf35c61ed123f4348feac93b7b1e1a9a0aab47426164dae", | |
| "containerID": "docker://d3c30ae1d83ca0d6a2e2e23d687db8f9bf71b58bd416f430436343148cb03e9c" | |
| }, | |
| { | |
| "name": "POD", | |
| "state": { | |
| "termination": { | |
| "exitCode": 0, | |
| "startedAt": "2015-05-21T17:13:30Z", | |
| "finishedAt": "2015-05-21T17:16:09Z" | |
| } | |
| }, | |
| "lastState": {}, | |
| "ready": false, | |
| "restartCount": 0, | |
| "image": "openshift3_beta/ose-pod:v0.4.3.2", | |
| "imageID": "docker://a893cdd698ea07eeead935596394e2c91cf2c0c6ea391e3ad9b8910131249dc3", | |
| "containerID": "docker://08cf4f007343b63eb511c1035c212aa2f32e918b6ad8edbefb60df14576411c4" | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment