commit | 64de29c7ebe43ef7c99f65541ca292f1859328f0 | [log] [tgz] |
---|---|---|
author | Dan Lavine <dlavine@us.ibm.com> | Tue Apr 18 17:37:54 2017 +0000 |
committer | Matt Rutkowski <mrutkows@us.ibm.com> | Tue Apr 18 12:37:54 2017 -0500 |
tree | b61fc73f0cd3f9b4bc58bd8d1bca88c0759fc995 | |
parent | ed3b8ac0ae9907246ab7ff70c50739ac72933892 [diff] |
Deploy Consul, Controller, Kafka, Zookeeper and Invoker in Kubernete (#22) * Able to deploy Consul to Kubernetes for OpenWhisk * Deploy Consul and seed the database. * Restructure how to override required ansible deployment files. Copy all of OpenWhisk deployment files and replace specific files for Kube. * Update cleanup script to include consul. * Add all group-vars so that the properties file can be generated. * Able to deploy Kafka for OpenWhisk in Kuberentes * cleanup Consul key values for invoker hosts * properly seed kafka with correct invoker topics * dynamically use correct kafka pod names * Able to deploy OpenWhisk Controller in Kube. * Able to deploy Invoker on Kubernetes. * Deploy the Invoker via a Kube StatefulSet * Invoker pulls all of the required OpenWhisk images * Updated to Consul so all of the process Hostnames are correct * Only deploy CouchDB if it doesn't exist. * Allow more time to deploy in travis * Split Zookeeper and Kafka into different Kube deployments. * This fixes issues where Kube DNS cannot route to itself. * Add retries for obtaining pod names * Use public openwhisk/invoker image * Remove instructions from README about building custom OpenWhisk images.
Using Docker-Compose. See the README for more details.
cd docker-compose make quick-start
This is useful for creating local development environments. The build downloads by default the latest code from the master branch, but it also allows developers to work with their local clones by providing the local path to the OpenWhisk repo:
PROJECT_HOME=/path/to/openwhisk make quick-start
Each tool in this repository has to provide travis build scripts inside a .travis
folder. The folder should define 2 scripts:
setup.sh
- invoked during before_install
phasebuild.sh
- invokes during script
phaseFor an example check out docker-compose/.travis folder.