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)

Introducing Funktion

Funktion's tagline describes it as event-based Lambda programming for Kubernetes. On the face of it, Funktion seems pretty close to Kubeless and the other Serverless frameworks we have discussed in previous chapters. However, it has its own twist which sets it apart from the other frameworks we are looking at.

Most of the serverless functions we are looking at support two basic event types:

  • HTTP: This is where data is passed to the framework using a standard HTTP request; typically the data will be posted as a JSON object
  • Subscription: This is where the framework listens for topics in an event stream, for example, Kubeless uses Apache Kafka (https://kafka.apache.org/)

Funktion expands on the number of event types—in fact, it supports around 200 different types of event. That is a quite a jump! It achieves this using Apache Camel (https://camel...