All of the configuration needed to deploy Apache OpenWhisk on Kubernetes is available on GitHub, so before we start our deployment we should clone the repository by running the following:
$ git clone --depth=1 https://github.com/apache/incubator-openwhisk-deploy-kube.git openwhisk-kube$ cd openwhisk-kube
Now that we have a copy of the repository, we can make a start on deploying the individual components needed to run Apache OpenWhisk. To start with, we need to create a namespace called openwhisk. To do this, run the following:
$ kubectl create namespace openwhisk
Now we can start our deployment by launching CouchDB.