Skip to content

Instantly share code, notes, and snippets.

View munchee13's full-sized avatar

Chris Morgan munchee13

View GitHub Profile
apiVersion: apps/v1
kind: Deployment
metadata:
name: example
namespace: openshift-cluster-api
spec:
selector:
matchLabels:
app: hello-openshift
replicas: 3
I0622 20:16:30.344877 32220 manager.go:277] Ignoring same status for pod "couchbase-1-mag7y_couchbase(082523eb-38b6-11e6-a215-525400659b2e)", status: {Phase:Pending Conditions:[{Type:Ready Status:False LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2016-06-22 20:15:15 +0000 UTC Reason:ContainersNotReady Message:containers with unready status: [couchbase]}] Message: Reason: HostIP:10.0.2.15 PodIP:172.17.0.14 StartTime:2016-06-22 20:15:15 +0000 UTC ContainerStatuses:[{Name:couchbase State:{Waiting:0xc82a166840 Running:<nil> Terminated:<nil>} LastTerminationState:{Waiting:<nil> Running:<nil> Terminated:<nil>} Ready:false RestartCount:0 Image:arungupta/couchbase@sha256:5fa1c5929115be72d417cc137f96d537aa1cbffeb7c5e0504c6d3bde0bbcd9a4 ImageID: ContainerID:}]}
I0622 20:16:30.352910 32220 manager.go:1669] Syncing Pod "couchbase-1-mag7y_couchbase(082523eb-38b6-11e6-a215-525400659b2e)": &{TypeMeta:{Kind: APIVersion:} ObjectMeta:{Name:couchbase-1-mag7y GenerateName:couchbase-1- Namespace:couchbase Se
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
<!-- Opening -->
<section>
<section>
<h1 style="font-size: 3.4em; margin-top: -25px;">Connecting Containers</h1>
<img src="https://raw.githubusercontent.com/codemiller/connecting-containers/gh-pages/images/boxillusion.png" style="width: 210px; background-color: inherit; border: none; box-shadow: none;"/>
<h3>Building a PaaS with Docker and&nbsp;Kubernetes</h3>
<p>
Presented by<br/>
<a href="http://www.codemiller.com">Katie Miller</a> / <a
href="http://twitter.com/codemiller">@codemiller</a><br/>