commit | 9479a996515d9ba7a76c198db2c5db19e3faa9db | [log] [tgz] |
---|---|---|
author | Jim Crossley <jim@crossleys.org> | Tue Jan 09 14:13:05 2018 -0500 |
committer | rodric rabbah <rodric@gmail.com> | Tue Jan 09 14:13:05 2018 -0500 |
tree | 9f36577df308d72098aa27967fb6ee278efee9b3 | |
parent | 84f6e38d66cdea5342cbc933a852a72ca6f719d2 [diff] |
Minor doc fixes and remove cleanup.sh (#142)
This repository can be used to deploy OpenWhisk to a Kubernetes cluster.
Several requirements must be met for OpenWhisk to deploy on Kubernetes.
Kubernetes
OpenWhisk
For local development and testing, we recommend using Minikube version 0.23+ with the docker network in promiscuous mode. Our Travis CI testing uses Minikube 0.23.0. Take a look at these instructions.
You can also provision a Kubernetes cluster from a cloud provider, subject to the cluster meeting the requirements above.
The first time you deploy OpenWhisk on Kubernetes, we recommend following the steps below manually so you can inspect the results and debug your setup. After you are confident that OpenWhisk deploys smoothly on your cluster, you might find it useful to drive your deployments using the script build.sh that we use to deploy OpenWhisk on Kubernetes for our Travis CI testing.
Do one of the following:
To deploy OpenWhisk on Kubernetes, you must deploy its components in an order that respects their dependencies. Detailed instructions and the supporting configuration files can be found in the kubernetes directory tree. Follow the instructions for each step in order.
Your OpenWhisk installation should now be usable. You can test it by following these instructions to define and invoke a sample OpenWhisk action in your favorite programming language.
At some point there might be a need to cleanup the Kubernetes environment. For this, we want to delete all the OpenWhisk deployments, services, jobs and whatever else might be there. This is easily accomplished by deleting the openwhisk
namespace:
kubectl delete namespace openwhisk
Report bugs, ask questions and request features here on GitHub.
You can also join our slack channel and chat with developers. To get access to our slack channel, request an invite here.