Book description
Deploy, orchestrate, and monitor serverless applications using Kubernetes
Key Features
- Get hands-on experience with frameworks, such as Kubeless, Apache OpenWhisk, and Funktion
- Master the basics of Kubernetes and prepare yourself for challenging technical assessments
- Learn how to launch Kubernetes both locally and in a public cloud
Book Description
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.
What you will learn
- Deploy a Kubernetes cluster locally with Minikube
- Get familiar with AWS Lambda and Google Cloud Functions
- Create, build, and deploy a webpage generated by the serverless functions in the cloud
- Create a Kubernetes cluster running on the virtual kubelet hardware abstraction
- Create, test, troubleshoot, and delete an OpenFaaS function
- Create a sample Slackbot with Apache OpenWhisk actions
Who this book is for
This book is for software developers and DevOps engineers who have basic or intermediate knowledge about Kubernetes and want to learn how to create serverless applications that run on Kubernetes. Those who want to design and create serverless applications running on the cloud, or on-premise Kubernetes clusters will also find this book useful.
Table of contents
- Preface
- 1. Introduction to Serverless
-
2. Introduction to Serverless in the Cloud
-
Introduction
- Serverless and the Cloud Evaluation Criteria
- AWS Lambda
- Exercise 4: Creating a Function in AWS Lambda and Invoking It via the AWS Gateway API
- Azure Functions
- Exercise 5: Creating a Parameterized Function in Azure Functions
- Google Cloud Functions
- Exercise 6: Creating a Scheduled Function in GCF
- Activity 2: Daily Stand-Up Meeting Reminder Function for Slack
- Summary
-
Introduction
- 3. Introduction to Serverless Frameworks
- 4. Kubernetes Deep Dive
- 5. Production-Ready Kubernetes Clusters
- 6. Upcoming Serverless Features in Kubernetes
- 7. Kubernetes Serverless with Kubeless
-
8. Introduction to Apache OpenWhisk
- Introduction to OpenWhisk
- Running OpenWhisk with IBM Cloud Functions
-
OpenWhisk Actions
- Writing Actions for OpenWhisk
- Creating Actions on the OpenWhisk Framework
- Listing OpenWhisk Actions
- Invoking OpenWhisk Actions
- Updating OpenWhisk Actions
- Deleting OpenWhisk Actions
- Exercise 26: Creating Your First OpenWhisk Action
- OpenWhisk Sequences
- Exercise 27: Creating OpenWhisk Sequences
- OpenWhisk Web Actions
- OpenWhisk Feeds, Triggers, and Rules
- Summary
-
9. Going Serverless with OpenFaaS
- Introduction to OpenFaaS
-
OpenFaaS Functions
- Creating OpenFaaS Functions
- Building OpenFaaS Functions
- Pushing the OpenFaaS Function Image
- Deploying the OpenFaaS Functions
- Listing the OpenFaaS Functions
- Invoking OpenFaaS Functions
- Deleting OpenFaaS Functions
- Exercise 30: Creating an OpenFaaS Function with Dependencies
- Deploying and Invoking Functions with OpenFaaS Portal
- OpenFaaS Functions with HTML Output
- Exercise 31: Returning HTML Based on Path Parameters
- OpenFaaS Function Observability
- Exercise 32: Installing an OpenFaaS Grafana Dashboard
- OpenFaaS Function Autoscaling
- Activity 9: OpenFaaS Form Processor
- Summary
-
Appendix
- 1. Introduction to Serverless
- 2. Introduction to Serverless in the Cloud
- 3. Introduction to Serverless Frameworks
- 4. Kubernetes Deep Dive
- 5. Production-Ready Kubernetes Clusters
- 6. Upcoming Serverless Features in Kubernetes
- 7. Kubernetes Serverless with Kubeless
- 8. Introduction to Apache OpenWhisk
- 9. Going Serverless with OpenFaaS
Product information
- Title: Serverless Architectures with Kubernetes
- Author(s):
- Release date: November 2019
- Publisher(s): Packt Publishing
- ISBN: 9781838983277
You might also like
book
Hands-On Microservices with Kubernetes
Enhance your skills in building scalable infrastructure for your cloud-based applications Key Features Learn to design …
book
Cloud Native with Kubernetes
Harness Kubernetes' extensibility to deploy modern patterns and learn to effectively handle production issues Key Features …
book
Kubernetes Native Development: Develop, Build, Deploy, and Run Applications on Kubernetes
Building applications for Kubernetes is both a challenge and an opportunity—a challenge because the options and …
book
Serverless Applications with Node.js
Serverless Applications with Node.js walks you through building serverless apps on AWS using JavaScript. Inside, you'll …