Kubernetes for Serverless Applications 9781788396646, 9781786468390

Key Features Learning DevOps, container, and Kubernetes within one book. Leverage Kubernetes as a platform to deploy, sc

1,099 258 21MB

English Year 2018

Report DMCA / Copyright

DOWNLOAD FILE

Kubernetes for Serverless Applications
 9781788396646, 9781786468390

Table of contents :
Cover
Title Page
Copyright
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Table of Contents
Preface
Chapter 1: Introduction to DevOps
Software delivery challenges
Waterfall and physical delivery
Agile and electrical delivery
Software delivery on the cloud
Continuous Integration
Continuous Delivery
Configuration management
Infrastructure as code
Orchestration
Trend of microservices
Modular programming
Package management
MVC design pattern
Monolithic application
Remote Procedure Call
RESTful design
Microservices
Automation and tools. Continuous Integration toolContinuous Delivery tool
Monitoring and logging tool
Communication tool
Public cloud
Summary
Chapter 2: DevOps with Container
Understanding container
Resource isolation
Linux container concept
Containerized delivery
Getting started with container
Installing Docker for Ubuntu
Installing Docker for CentOS
Installing Docker for macOS
Container life cycle
Docker basics
Layer, image, container, and volume
Distributing images
Connect containers
Working with Dockerfile
Writing your first Dockerfile
Dockerfile syntax
Organizing a Dockerfile. Multi-containers orchestrationPiling up containers
Docker Compose overview
Composing containers
Summary
Chapter 3: Getting Started with Kubernetes
Understanding Kubernetes
Kubernetes components
Master components
API server (kube-apiserver)
Controller Manager (kube-controller-manager)
etcd
Scheduler (kube-scheduler)
Node components
Kubelet
Proxy (kube-proxy)
Docker
Interaction between Kubernetes master and nodes
Getting started with Kubernetes
Preparing the environment
kubectl
Kubernetes resources
Kubernetes objects
Namespace
Name
Label and selector
Annotation
Pods. ReplicaSet (RS) and ReplicationController (RC)Deployments
Services
Volumes
Secrets
ConfigMap
Using ConfigMap via volume
Using ConfigMap via environment variables
Multi-containers orchestration
Summary
Chapter 4: Working with Storage and Resources
Kubernetes volume management
Container volume lifecycle
Sharing volume between containers within a pod
Stateless and stateful applications
Kubernetes Persistent Volume and dynamic provisioning
Persistent Volume claiming the abstraction layer
Dynamic Provisioning and StorageClass
A problem case of ephemeral and persistent setting. Replicating pods with a Persistent Volume using StatefulSetPersistent Volume example
Elasticsearch cluster scenario
Elasticsearch master node
Elasticsearch master-eligible node
Elasticsearch data node
Elasticsearch coordinating node
Kubernetes resource management
Resource Quality of Service
Configuring the BestEffort pod
Configuring as the Guaranteed pod
Configuring as Burstable pod
Monitoring resource usage
Summary
Chapter 5: Network and Security
Kubernetes networking
Docker networking
Container-to-container communications
Pod-to-pod communications.

Polecaj historie