Welcome to Manning India!

We are pleased to be able to offer regional eBook pricing for Indian residents.
All eBook prices are discounted 40% or more!
Kubernetes in Action, Second Edition
Marko Lukša
  • MEAP began February 2020
  • Publication in Summer 2020 (estimated)
  • ISBN 9781617297618
  • 775 pages (estimated)
  • printed in black & white
free previous edition eBook included
An eBook copy of the previous edition of this book is included at no additional cost. It will be automatically added to your Manning Bookshelf within 24 hours of purchase.
Kubernetes is an essential tool for anyone deploying and managing cloud-native applications. Kubernetes in Action, Second Edition is a fully-updated and comprehensive guide to developing and running applications in a Kubernetes environment. It lays out a complete introduction to container technologies and containerized applications along with practical tips for efficient deployment and operation. This revised edition of the bestselling original contains new coverage of the Kubernetes architecture, including the Kubernetes API, and a deep dive into managing a Kubernetes cluster in production.
Table of Contents detailed table of contents

Part 1: Introduction: First time on a ship

1 Introducing Kubernetes

1.1 Introducing Kubernetes

1.1.1 Kubernetes in a nutshell

1.1.2 About the Kubernetes project

1.2 Understanding Kubernetes

1.2.1 Understanding how Kubernetes transforms a computer cluster

1.2.2 The benefits of using Kubernetes

1.2.3 The architecture of a Kubernetes cluster

1.2.4 How Kubernetes runs an application

1.3 Introducing Kubernetes into your organization

1.3.1 Running Kubernetes on-premises and in the cloud

1.3.2 To manage or not to manage Kubernetes yourself

1.3.3 Using vanilla or extended Kubernetes

1.3.4 Should you even use Kubernetes?

1.4 Summary

2 Understanding containers

2.1 Introducing containers

2.1.1 Comparing containers to virtual machines

2.1.2 Introducing the Docker container platform

2.1.3 Introducing Docker alternatives and the Open Container Initiative

2.2 Exploring containers hands-on

2.2.1 Installing Docker and running a Hello World container

2.2.2 Creating a containerized Node.js web application

2.2.3 Creating a Dockerfile to build the container image

2.2.4 Building the container image

2.2.5 Running the container image

2.2.6 Distributing container images

2.2.7 Stopping and deleting containers

2.3 Understanding what makes containers possible

2.3.1 Using Namespaces to customize the environment of a process

2.3.2 Exploring the environment of a running container

2.3.3 Limiting a process’ resource usage with Linux Control Groups

2.3.4 Strengthening isolation between containers

2.4 Summary

3 First steps with Kubernetes

3.1 Deploying a Kubernetes cluster

3.1.1 Using the built-in Kubernetes cluster in Docker Desktop

3.1.2 Running a local cluster using Minikube

3.1.3 Running a local cluster using kind (Kubernetes in Docker)

3.1.4 Creating a managed cluster with Google Kubernetes Engine

3.1.5 Creating a cluster using Amazon Elastic Kubernetes Service

3.1.6 Deploying a multi-node cluster from scratch

3.2 Interacting with Kubernetes

3.2.1 Setting up kubectl - the Kubernetes command-line client

3.2.2 Configuring kubectl to use a specific Kubernetes cluster

3.2.3 Using kubectl

3.2.4 Interacting with Kubernetes through web dashboards

3.3 Running your first application on Kubernetes

3.3.1 Deploying your application

3.3.2 Exposing your application to the world

3.3.3 Horizontally scaling the application

3.3.4 Understanding the deployed application

3.4 Summary

Part 2: Core concepts: Learning the ropes

4 Pods: Running containers in Kubernetes

5 Volumes: Attaching storage to containers

6 ConfigMaps and Secrets: Configuring applications

7 Probes, hooks and init containers: Managing the pod’s lifecycle

8 Labels, Selectors and Namespaces: Organizing objects

9 Services: Exposing one or more pods at a constant location

10 Deployments: Managing replicated pods

11 DaemonSets, Jobs and CronJobs: Deploying special workloads

12 StatefulSets: Deploying distributed stateful applications

Part 3: Internals: Going below deck

13 Understanding the API

14 Deep dive into the Control Plane

15 Deep dive into the Worker Nodes

16 Understanding the inner workings

Part 4: Managing Kubernetes: Sailing out to high seas

17 Deploying highly-available clusters

18 Managing computational resources

19 Advanced scheduling

20 Automatic scaling

21 Securing the API

22 Securing the nodes

23 Securing the network

24 Upgrading, backing up and restoring

25 Logging, metrics, alerting and tracing

Part 5: Conclusion: Becoming a seasoned mariner

26 Best practices for application development and deployment

27 Extending Kubernetes with custom resources and operators

About the Technology

Kubernetes is Greek for “helmsman,” your guide through unknown waters. The Kubernetes container orchestration system safely manages the structure and flow of a distributed application, organizing containers and services for maximum efficiency. Kubernetes serves as an operating system for your clusters, reducing the need to factor the underlying network and server infrastructure into your designs. As more and more applications are created using cloud-native and container-based architectures, Kubernetes has become an essential tool for modern developers to master.

About the book

Kubernetes in Action, Second Edition teaches you to use Kubernetes to deploy container-based distributed applications. You'll start with an overview of how Docker containers work with Kubernetes and move quickly to building your first cluster. You'll gradually expand your initial application, adding features and deepening your knowledge of Kubernetes architecture and operation. In this revised and expanded second edition, you’ll take a deep dive into the structure of a Kubernetes-based application and discover how to manage a Kubernetes cluster in production. As you navigate this comprehensive guide, you'll also appreciate thorough coverage of high-value topics like monitoring, tuning, and scaling.

What's inside

  • Up and running with Kubernetes
  • Deploying containers across a cluster
  • Securing clusters
  • Updating applications with zero downtime

About the reader

Written for intermediate software developers with little or no familiarity with Docker or container orchestration systems.

About the author

Marko Lukša is an engineer at Red Hat working on Kubernetes and OpenShift.

Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
MEAP combo $59.99 pBook + eBook + liveBook
includes previous edition eBook
MEAP eBook $47.99 pdf + ePub + kindle + liveBook
includes previous edition eBook
Prices displayed in rupees will be charged in USD when you check out.

placing your order...

Don't refresh or navigate away from the page.

FREE domestic shipping on three or more pBooks