Running Apache OpenWhisk on Kubernetes
Now that we have an idea of how to interact with Apache OpenWhisk and the basic concepts behind it, we can look at deploying a copy on top of a Kubernetes cluster. To do this, I am going to launch a three-node cluster in Google Cloud by running the following:
$ gcloud container clusters create kube-cluster
Once the cluster is up-and-running, you can check that you can see three nodes by running the following:
$ kubectl get nodes

Now we have our Kubernetes, we can progress with the Apache OpenWhisk deployment.
Deploying OpenWhisk
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...