Skip to content

Instantly share code, notes, and snippets.

@munchee13
Created June 22, 2016 06:26
Show Gist options
  • Save munchee13/fae9c5cce35d4eec6bebfff6abdd752d to your computer and use it in GitHub Desktop.
Save munchee13/fae9c5cce35d4eec6bebfff6abdd752d to your computer and use it in GitHub Desktop.
morgan@Chris-Morgan-MacBook-Pro:~/origin$ oc new-app arungupta/couchbase
--> Found Docker image e1fcdee (About an hour old) from Docker Hub for "arungupta/couchbase"
* An image stream will be created as "couchbase:latest" that will track this image
* This image will be deployed in deployment config "couchbase"
* Ports 11207/tcp, 11210/tcp, 11211/tcp, 18091/tcp, 18092/tcp, 18093/tcp, 8091/tcp, 8092/tcp, 8093/tcp, 8094/tcp will be load balanced by service "couchbase"
* Other containers can access this service through the hostname "couchbase"
* This image declares volumes and will default to use non-persistent, host-local storage.
You can add persistent volumes later by running 'volume dc/couchbase --add ...'
* WARNING: Image "couchbase" runs as the 'root' user which may not be permitted by your cluster administrator
--> Creating resources with label app=couchbase ...
imagestream "couchbase" created
deploymentconfig "couchbase" created
service "couchbase" created
--> Success
Run 'oc status' to view your app.
cmorgan@Chris-Morgan-MacBook-Pro:~/origin$ oc status
In project couchbase on server https://10.2.2.2:8443
svc/couchbase - 172.30.165.230 ports 8091, 8092, 8093, 8094, 11207, 11210, 11211, 18091, 18092, 18093
dc/couchbase deploys istag/couchbase:latest
deployment #1 running for 30 seconds - 1 pod
1 warning identified, use 'oc status -v' to see details.
cmorgan@Chris-Morgan-MacBook-Pro:~/origin$ oc status -v
In project couchbase on server https://10.2.2.2:8443
svc/couchbase - 172.30.165.230 ports 8091, 8092, 8093, 8094, 11207, 11210, 11211, 18091, 18092, 18093
dc/couchbase deploys istag/couchbase:latest
deployment #1 running for 37 seconds - 1 pod
Warnings:
* dc/couchbase has no readiness probe to verify pods are ready to accept traffic or ensure deployment is successful.
try: oc set probe dc/couchbase --readiness ...
View details with 'oc describe <resource>/<name>' or list everything with 'oc get all'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment