Kubernetes Cookbook

Learn how to automate and manage your Linux containers and improve the overall performance of your system

Kubernetes Cookbook

This ebook is included in a Mapt subscription
Hideto Saito, Hui-Chuan Chloe Lee, Ke-Jou Carol Hsu

2 customer reviews
Learn how to automate and manage your Linux containers and improve the overall performance of your system
$0.00
$18.00
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785880063
Paperback376 pages

Book Description

Kubernetes is Google’s solution to managing a cluster of containers. Kubernetes provides a declarative API to manage clusters while giving us a lot of flexibility. This book will provide you with recipes to better manage containers in different scenarios in production using Kubernetes.

We will start by giving you a quick brush up on how Kubernetes works with containers along with an overview of the main Kubernetes features such as Pods, Replication Controllers, and more. Next, we will teach you how to create Kubernetes cluster and how to run programs on Kubernetes. We’ll explain features such as High Availability Kubernetes master setup, using Kubernetes with Docker, and orchestration with Kubernetes using AWS. Later, will show you how to use Kubernetes-UI, and how to set up and manage Kubernetes clusters on the cloud and bare metal.

Upon completion of this book, you will be able use Kubernetes in production and will have a better understanding of how to manage your containers using Kubernetes.

Table of Contents

Chapter 1: Building Your Own Kubernetes
Introduction
Exploring architecture
Preparing your environment
Building datastore
Creating an overlay network
Configuring master
Configuring nodes
Run your first container in Kubernetes
Chapter 2: Walking through Kubernetes Concepts
Introduction
An overview of Kubernetes control
Working with pods
Working with a replication controller
Working with services
Working with volumes
Working with secrets
Working with names
Working with namespaces
Working with labels and selectors
Chapter 3: Playing with Containers
Introduction
Scaling your containers
Updating live containers
Forwarding container ports
Ensuring flexible usage of your containers
Working with configuration files
Chapter 4: Building a High Availability Cluster
Introduction
Clustering etcd
Building multiple masters
Chapter 5: Building a Continuous Delivery Pipeline
Introduction
Moving monolithic to microservices
Integrating with Jenkins
Working with the private Docker registry
Setting up the Continuous Delivery pipeline
Chapter 6: Building Kubernetes on AWS
Introduction
Building the Kubernetes infrastructure in AWS
Managing applications using AWS OpsWorks
Auto-deploying Kubernetes through Chef recipes
Using AWS CloudFormation for fast provisioning
Chapter 7: Advanced Cluster Administration
Introduction
Advanced settings in kubeconfig
Setting resource in nodes
Playing with WebUI
Working with a RESTful API
Authentication and authorization
Chapter 8: Logging and Monitoring
Introduction
Collecting application logs
Working with Kubernetes logs
Working with etcd log
Monitoring master and node

What You Will Learn

  • Get to know how to build your own container cluster
  • Deploy and manage highly scalable applications using Kubernetes
  • Discover how to build high availability Kubernetes clusters
  • Find out how to build a continuous delivery pipeline for your application
  • Track metrics and logs for every container running in your cluster
  • Streamline the way you deploy and manage your applications with large-scale container orchestration

Authors

Table of Contents

Chapter 1: Building Your Own Kubernetes
Introduction
Exploring architecture
Preparing your environment
Building datastore
Creating an overlay network
Configuring master
Configuring nodes
Run your first container in Kubernetes
Chapter 2: Walking through Kubernetes Concepts
Introduction
An overview of Kubernetes control
Working with pods
Working with a replication controller
Working with services
Working with volumes
Working with secrets
Working with names
Working with namespaces
Working with labels and selectors
Chapter 3: Playing with Containers
Introduction
Scaling your containers
Updating live containers
Forwarding container ports
Ensuring flexible usage of your containers
Working with configuration files
Chapter 4: Building a High Availability Cluster
Introduction
Clustering etcd
Building multiple masters
Chapter 5: Building a Continuous Delivery Pipeline
Introduction
Moving monolithic to microservices
Integrating with Jenkins
Working with the private Docker registry
Setting up the Continuous Delivery pipeline
Chapter 6: Building Kubernetes on AWS
Introduction
Building the Kubernetes infrastructure in AWS
Managing applications using AWS OpsWorks
Auto-deploying Kubernetes through Chef recipes
Using AWS CloudFormation for fast provisioning
Chapter 7: Advanced Cluster Administration
Introduction
Advanced settings in kubeconfig
Setting resource in nodes
Playing with WebUI
Working with a RESTful API
Authentication and authorization
Chapter 8: Logging and Monitoring
Introduction
Collecting application logs
Working with Kubernetes logs
Working with etcd log
Monitoring master and node

Book Details

ISBN 139781785880063
Paperback376 pages
Read More
From 2 reviews

Read More Reviews