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

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 namespacedeployment, and service

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

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