万本电子书0元读

万本电子书0元读

顶部广告

Kubernetes for Serverless Applications电子书

售       价:¥

10人正在读 | 0人评论 9.8

作       者:Russ McKendrick

出  版  社:Packt Publishing

出版时间:2018-01-18

字       数:27.9万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Transform yourself into a Kubernetes specialist in serverless applications. About This Book ? Get hands-on experience in installing, configuring, and using services such as Kubeless, Funktion, OpenWhisk, and Fission ? Learn how to launch Kubernetes both locally and in public clouds ? Explore the differences between using services such as AWS Lambda and Azure Functions and running your own Who This Book Is For If you are a DevOps engineer, cloud architect, or a stakeholder keen to learn about serverless functions in Kubernetes environments, then this book is for you. What You Will Learn ? Get a detailed analysis of serverless/Functions as a Service ? Get hands-on with installing and running tasks in Kubernetes using Minikube ? Install Kubeless locally and launch your first function. ? Launch Kubernetes in the cloud and move your applications between your local machine and your cloud cluster ? Deploy applications on Kubernetes using Apache OpenWhisk ? Explore topics such as Funktion and Fission installation on the cloud followed by launching applications ? Monitor a serverless function and master security best practices and Kubernetes use cases In Detail 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. Style and approach A clear, concise, and straightforward book that will empower you work with clusters and run serverless functions effectively.
目录展开

Title Page

Copyright and Credits

Kubernetes for Serverless Applications

Packt Upsell

Why subscribe?

PacktPub.com

Contributors

About the author

About the reviewer

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Conventions used

Get in touch

Reviews

The Serverless Landscape

Serverless and Functions as a Service

Pets, cattle, chickens, insects, and snowflakes

Pets

Cattle

Chickens

Insects

Snowflakes

Summing up

Serverless and insects

Public cloud offerings

AWS Lambda

Prerequisites

Creating a Lambda function

Microsoft Azure Functions

Prerequisites

Creating a Function app

The serverless toolkit

Problems solved by serverless and Functions as a Service

Summary

An Introduction to Kubernetes

A brief history of Kubernetes

Control groups

lmctfy

Borg

Project Seven

An overview of Kubernetes

Components

Pods and services

Workloads

ReplicaSet

Deployments

StatefulSets

Kubernetes use cases

References

Summary

Installing Kubernetes Locally

About Minikube

Installing Minikube

macOS 10.13 High Sierra

Windows 10 Professional

Ubuntu 17.04

Hypervisors

Starting Minikube

Minikube commands

Stop and delete

Environment

Virtual machine access and logs

Hello world

The dashboard

The command line

References

Summary

Introducing Kubeless Functioning

Installing Kubeless

The Kubeless Kubernetes cluster

The command-line client

macOS 10.13 High Sierra

Windows 10 Professional

Ubuntu 17.04

The Kubeless web interface

Kubeless overview

So what is Kubeless?

Who made Kubeless?

Kubeless commands

Hello world

The basic example

An example of reading data

Twitter example

The Twitter API

Adding secrets to Kubernetes

The Twitter function

The Kubeless serverless plugin

Summary

Using Funktion for Serverless Applications

Introducing Funktion

Installing and configuring Funktion

The command-line client

macOS 10.13 High Sierra

Windows 10 Professional

Ubuntu 17.04

Launching a single-node Kubernetes cluster

Bootstrapping Funktion

Deploying a simple function

Twitter streams

Summary

Installing Kubernetes in the Cloud

Launching Kubernetes in DigitalOcean

Creating Droplets

Deploying Kubernetes using kubeadm

Removing the cluster

Launching Kubernetes in AWS

Getting set up

Launching the cluster using kube-aws

The Sock Shop

Removing the cluster

Launching Kubernetes in Microsoft Azure

Preparing the Azure command-line tools

Launching the AKS cluster

The Sock Shop

Removing the cluster

Launching Kubernetes on the Google Cloud Platform

Installing the command-line tools

Launching the Google container cluster

The Sock Shop

Running Kubeless

Removing the cluster

Summary

Apache OpenWhisk and Kubernetes

Apache OpenWhisk overview

Running Apache OpenWhisk locally

Installing Vagrant

Downloading and configuring Apache OpenWhisk

Installing the Apache OpenWhisk client

Hello world

Running Apache OpenWhisk on Kubernetes

Deploying OpenWhisk

CouchDB

Redis

API Gateway

ZooKeeper

Kafka

Controller

Invoker

NGINX

Configuring OpenWhisk

Hello world

Summary

Launching Applications Using Fission

Fission overview

Installing the prerequisites

Installing Helm

Installing the Fission CLI

Running Fission locally

Launching Fission using Helm

Working through the output

Launching our first function

A guestbook

Fission commands

The fission function command

The create command

The get option

The list and getmeta commands

The logs command

The update command

The delete command

The fission environment command

The create command

The list and get command

The delete command

Running Fission in the cloud

Launching the Kubernetes cluster

Installing Fission

The guestbook

Some more examples

Weather

Slack

Whales

Summary

Looking at OpenFaaS

An introduction to OpenFaaS

Running OpenFaaS locally

The OpenFaaS command-line client

Docker

Starting the Minikube cluster

Installing OpenFaaS using Helm

Hello world!

The OpenFaaS UI and store

Prometheus

Summary

Serverless Considerations

Security best practices

Securing Kubernetes

Securing serverless services

OpenFaaS

Kubeless

Funktion

Apache OpenWhisk

Fission

Conclusions

Monitoring Kubernetes

The dashboard

Google Cloud

Microsoft Azure

Summary

Running Serverless Workloads

Evolving software and platforms

Kubernetes

Serverless tools

Kubeless

Apache OpenWhisk

Fission

OpenFaaS

Funktion

Future developments

Why Functions as a Service on Kubernetes

Fixed points

Databases

Storage

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部