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)

Installing Kubeless

There are two components to Kubeless; the first is the stack, which runs on Kubernetes, and the second part is the command-line client you use to interact with your Kubeless cluster.

We will first look at getting the Kubernetes side of Kubeless up-and-running. Once up we will then look at installing the command client on our three target operating systems.

The Kubeless Kubernetes cluster

We will be installing Kubeless on the single-node Minikube cluster we installed and configured in the previous chapter. The first thing we need to do is ensure that we are starting with a clean Kubernetes installation. To do this, we simply need to run the following two commands:

Please remember that running the minikube...