O'Reilly logo

Kubernetes for Serverless Applications by Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CouchDB

To deploy CouchDB, run the following command from within the openwhisk-kube folder:

$ kubectl apply -f kubernetes/couchdb/couchdb.yml

This will launch a pod running CouchDB using the parameters defined in the couchdb.yml file. You can check that everything is OK with the deployment by getting the name of the pod. You can do this by running the following:

$ kubectl -n openwhisk get pods

Once you have the name, which for me was couchdb-1146267775-v0sdm, you can then run the following, making sure to update the name of the pod with your own:

$ kubectl -n openwhisk logs couchdb-1146267775-v0sdm

Towards the end of the log output you should see the following message:

Now that our CouchDB pod is running we can move on to the next one, which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required