Skip to content

Instantly share code, notes, and snippets.

@matzew
Last active November 16, 2018 14:39
Show Gist options
  • Select an option

  • Save matzew/5c93e0acff0ed73265c372a53ed58728 to your computer and use it in GitHub Desktop.

Select an option

Save matzew/5c93e0acff0ed73265c372a53ed58728 to your computer and use it in GitHub Desktop.

Install almost all

git clone -b no_old_eventing --single-branch [email protected]:matzew/knative-operators.git
cd knative-operators
./etc/scripts/install.sh

WAIT

now just wait - it's worth it!

cd ..

At this point we have knative build/serving

get us some fresh eventing:

git clone -b k8s-in-mem --single-branch [email protected]:matzew/ocf-addons.git
minishift addons install ocf-addons/knative-eventing
minishift addons apply knative-eventing

Now we have the new knative-eventing and knative-sources namespaces

Install an end-to-end eventing demo (very much like the one from the PR - but with an image from dockerhub)

minishift addons install ocf-addons/k8s-in-mem 
minishift addons apply k8s-in-mem

Wait

... and once the pods are all up / running, go for the log of the message-dumper, e.g:

oc logs -f message-dumper-00001.......... -c user-container

THE REAL PR

the PR is similar to the k8s-in-mem addon. ONLY DIFFERENCE IS !!!!! it does NOT contain a ksvc, it JUST references the PREVIOUSLY built container (e.g. helloworld-openshift or the like)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment