liveBook · Manning

Chapter 1: Introducing Kubernetes

What you will learn in chapter 1 of Kubernetes in Action, Second Edition

The introduction presents Kubernetes as a way to automate running containerized applications and briefly considers when its complexity is worthwhile.

After this chapter you will be able to

Section by section

Introduction

The introduction presents Kubernetes as a way to automate running containerized applications and briefly considers when its complexity is worthwhile.

Key terms: API, controllers, containerized applications, desired state, simpler tools, managed Kubernetes services

1.1 Introducing Kubernetes

This section uses the helmsman metaphor to explain Kubernetes’s role and introduces its common names and pronunciations.

Key terms: helmsman, captain, status, Kube, K8s

1.1.1 Kubernetes in a nutshell

This section explains how Kubernetes abstracts infrastructure, turns an application description into a running system, and handles routine application management.

Key terms: abstraction layer, underlying infrastructure, manifest, declarative model, description, running application, daily management, application fails, hardware fails, infrastructure topology

1.1.2 About the Kubernetes project

This section explains why Google’s operational needs led to Kubernetes and how it grew into an open source project and broader ecosystem.

Key terms: containers, infrastructure utilization, consistent method for deploying applications, Borg, Omega, open source project, enterprise-quality Kubernetes products, Cloud Native Computing Foundation (CNCF), KubeCon–CloudNativeCon, cloud-native eco-system

1.1.3 Understanding why Kubernetes is so popular

The section explains how microservices, closer development–operations collaboration, and cloud portability helped make Kubernetes popular.

Key terms: monoliths, microservices, containers, automated management, Dev-Ops paradigm, development team, operations team, underlying servers, cloud provider, proprietary APIs

1.2 Understanding Kubernetes

1.2.1 Understanding how Kubernetes transforms a computer cluster

This section explains how Kubernetes turns a cluster into a unified place to deploy applications while distinguishing the control plane from worker nodes and the limits of that abstraction.

Key terms: operating system for the cluster, service discovery, horizontal scaling, load-balancing, self-healing, leader election, control plane, worker nodes, workload plane, single space

1.2.2 The benefits of using Kubernetes

This section explains how Kubernetes benefits development and operations teams through self-service deployment, better resource use, load adjustment, self-healing, and built-in infrastructure services.

Key terms: worker nodes, single deployment surface, resource requirements, infrastructure utilization, nodes, resources, metrics, running instances, provisioning additional nodes, self-healing system

1.2.3 The architecture of a Kubernetes cluster

The section introduces the cluster’s control and workload planes and summarizes the components that control the cluster and run applications.

Key terms: control plane, control plane nodes, worker nodes, workload plane, Kubernetes API Server, Kubernetes API, etcd, Scheduler, Controllers, Kubelet

1.2.4 How Kubernetes runs an application

This section traces how an application definition becomes running, reachable application instances and how Kubernetes keeps them running.

Key terms: object, Kubernetes API, manifest, YAML, JSON, kubectl, API Server, etcd, controller, application deployment

1.3 Introducing Kubernetes into your organization

1.3.1 Running Kubernetes on-premises and in the cloud

This section compares running Kubernetes on-premises, in the cloud, or in a hybrid setup, focusing on capacity and cost tradeoffs.

Key terms: on-premises, bare-metal machines, virtual machines, cloud provider, worker nodes, elasticity of the cluster, hybrid cloud solution, spill over into the cloud, control plane

1.3.2 To manage or not to manage Kubernetes yourself

This section explains why an organization should weigh the difficulty of operating Kubernetes itself against using a managed cloud offering.

Key terms: production-ready Kubernetes cluster, managing Kubernetes, Kubernetes-as-a-Service, managed Kubernetes cluster, Kubernetes API

1.3.3 Using vanilla or extended Kubernetes

This section compares vanilla Kubernetes with enterprise-grade distributions for production use.

Key terms: vanilla, open source version, enterprise-quality Kubernetes distribution, upstream Kubernetes API, security defaults

1.3.4 Should you even use Kubernetes?

This section gives three practical checks for deciding whether introducing Kubernetes is worth it.

Key terms: automate the management, monolith, microservices, development engineers, operators, long-term operational costs, training, additional computing resources

1.4 Summary

The chapter summary recaps Kubernetes’ declarative approach, its benefits for running applications, and the basic structure and management choices of a cluster.

Where this is used later

Concepts explained in this chapter

Chapter 2: Understanding containers and containerized applications →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.