A guestbook

Now that we have a basic application up and running, let's look at creating something more complex. Fission ships with a demo application that acts as a guestbook. You can find the files we are going to be deploying in the /Chapter08/guestbook/ folder in the GitHub repository that accompanies this book.

The first step in launching the application is to launch a Redis deployment; this will be used to store the comments being written to the guestbook. To create the deployment, run the following command from within the /Chapter08/guestbook/ folder:

$ kubectl create -f redis.yaml

You can see from the following screenshot this has created a namespace, deployment, and service.

Now we need to create an environment to launch our functions ...

Get Kubernetes for Serverless Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.