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

The guestbook

Before we move on to a more advanced example, let's quickly launch our guestbook application again. To do this, change to the /Chapter08/guestbook/ folder in the repository and then run the following commands:

$ kubectl create -f redis.yaml$ fission env create --name python --image fission/python-env$ fission function create --name guestbook-get --env python --code get.py --url /guestbook --method GET$ fission function create --name guestbook-add --env python --code add.py --url /guestbook --method POST$ open http://$FISSION_ROUTER/guestbook

This should give you something like the following output:

This will launch the application ...

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