Book Image

Serverless Architectures with Kubernetes

By : Onur Yılmaz, Sathsara Sarathchandra
Book Image

Serverless Architectures with Kubernetes

By: Onur Yılmaz, Sathsara Sarathchandra

Overview of this book

Kubernetes has established itself as the standard platform for container management, orchestration, and deployment. By learning Kubernetes, you’ll be able to design your own serverless architecture by implementing the function-as-a-service (FaaS) model. After an accelerated, hands-on overview of the serverless architecture and various Kubernetes concepts, you’ll cover a wide range of real-world development challenges faced by real-world developers, and explore various techniques to overcome them. You’ll learn how to create production-ready Kubernetes clusters and run serverless applications on them. You'll see how Kubernetes platforms and serverless frameworks such as Kubeless, Apache OpenWhisk and OpenFaaS provide the tooling to help you develop serverless applications on Kubernetes. You'll also learn ways to select the appropriate framework for your upcoming project. By the end of this book, you’ll have the skills and confidence to design your own serverless applications using the power and flexibility of Kubernetes.
Table of Contents (11 chapters)
2. Introduction to Serverless in the Cloud


In the previous chapter, we created Kubernetes clusters for the development environment and installed applications into it. In this chapter, the focus will be on production-ready Kubernetes clusters and how to administer them for better availability, reliability, and cost optimization.

Kubernetes is the de facto system for managing microservices running as containers in the cloud. It is widely adopted in the industry by both start-ups and large enterprises for running various kinds of applications, including data analysis tools, serverless apps, and databases. Scalability, high availability, reliability, and security are the key features of Kubernetes that enable its adoption. Let's assume that you have decided to use Kubernetes, and hence you need a reliable and observable cluster setup for development and production. There are critical considerations that depend on your requirements, budget, and team before choosing a Kubernetes provider and how to operate the...