Book Image

Kubernetes for Serverless Applications

By : Russ McKendrick
Book Image

Kubernetes for Serverless Applications

By: Russ McKendrick

Overview of this book

Kubernetes has established itself as the standard platform for container management, orchestration, and deployment. It has been adopted by companies such as Google, its original developers, and Microsoft as an integral part of their public cloud platforms, so that you can develop for Kubernetes and not worry about being locked into a single vendor. This book will initially start by introducing serverless functions. Then you will configure tools such as Minikube to run Kubernetes. Once you are up-and-running, you will install and configure Kubeless, your first step towards running Function as a Service (FaaS) on Kubernetes. Then you will gradually move towards running Fission, a framework used for managing serverless functions on Kubernetes environments. Towards the end of the book, you will also work with Kubernetes functions on public and private clouds. By the end of this book, we will have mastered using Function as a Service on Kubernetes environments.
Table of Contents (13 chapters)

Summary

OpenFaaS is a fast-growing Functions as a Service platform, and as already mentioned, it is getting a lot of community support behind it. It is unique in that it interacts with Docker locally to build and push images to the Docker Hub, where the other tools we have been using are using Kubernetes to inject our functions into containers and runtime.

This is the advantage of being able to easily distribute container images for use with OpenFaaS, as demonstrated by the mememachine example we worked through and the other functions in the OpenFaaS store.

One of the things we didn't do in this chapter is launch Kubernetes cluster in a public cloud and deploy OpenFaaS. One of the reasons for this is, to be able to access it, we would have had to make it available to our host machine via a public IP address, which would have exposed our installation to the world. In the next...