Skip to product information
Kubernetes textbook
Kubernetes textbook
Description
Book Introduction
From the basics to core technologies, practical applications, and effective operation methods!
The perfect Kubernetes textbook to prepare you for real-world deployment.

Kubernetes is a powerful platform with a huge range of features that are still evolving.
It is also a subject that is not easy to learn.
The author has developed this book based on effective learning processes discovered through many years of training and workshops.
We start with core concepts and work our way into more detail, leaving difficult and complex topics for later when you've become somewhat comfortable with Kubernetes.
Additionally, we focused on how Kubernetes can be used in applications without conveying too much technical knowledge.
In particular, you can directly practice with over 280 practical examples and practice problems, and through these exercises, you can learn the various functions and practical practices of Kubernetes, and how to use various tools that make up the Kubernetes ecosystem.
  • You can preview some of the book's contents.
    Preview
","
index
Part 1: A Quick Look at Kubernetes

Before starting Chapter 1
1.1 Understanding Kubernetes
1.2 Target audience of this book
1.3 Creating a Practice Environment
__1.3.1 Download the example code for this book
__1.3.2 Installing Docker Desktop
__1.3.3 Installing Docker Community Edition and K3s
__1.3.4 Installing Kubernetes Command-Line Tools
__1.3.5 Running a Single-Node Kubernetes Cluster in an Azure Environment
__1.3.6 Running a Single-Node Kubernetes Cluster on AWS
__1.3.7 Checking the created cluster
1.4 Get started right away

Chapter 2: Running Containers with Pods and Deployments
2.1 How Kubernetes Runs and Manages Containers
2.2 Running a Pod with a Controller Object
2.3 Defining a Deployment in the Application Manifest
2.4 Accessing applications running on pods
2.5 Understanding Kubernetes Resource Management
2.6 Practice Problems

Chapter 3 Connecting Pods to Services Over the Network
3.1 Routing Network Traffic Inside Kubernetes
3.2 Pod-to-pod communication
3.3 Forwarding External Traffic to Pods
3.4 Forwarding Traffic Outside the Kubernetes Cluster
3.5 Kubernetes Service Resolution Process
3.6 Practice Problems

Chapter 4: Configuring Applications with ConfigMap and Secret Values
4.1 How settings are passed to applications in Kubernetes
4.2 Using the configuration file saved in the ConfigMap
4.3 Injecting configuration data contained in the ConfigMap
4.4 Handling settings containing sensitive information using secret values
4.5 Managing Application Configurations in Kubernetes
4.6 Practice Problems

Chapter 5: Data Persistence Using Volumes, Mounts, and Claims
5.1 How a Container File System is Built in Kubernetes
5.2 Storing Data on Nodes with Volumes and Mounts
5.3 Storing Data Accessibly from All: Persistent Volumes and Claims
5.4 Storage Types and Dynamic Volume Provisioning
5.5 Things to Consider When Choosing Storage
5.6 Practice Problems

Chapter 6 Scaling Applications Using Controller Resources
6.1 How Kubernetes Scales Applications
6.2 Load Scaling Using Deployments and ReplicaSets
6.3 Achieving High Availability by Scaling with DaemonSet
6.4 Object Ownership in Kubernetes
6.5 Practice Problems

Part 2: Applying Kubernetes in Practice

Chapter 7: Scaling Applications Using Multi-Container Pods
7.1 Communication between pods and containers
7.2 Starting an Application Using an Initialization Container
7.3 Consistent Application Management Using Adapter Containers
7.4 Abstracting Communication with the Outside World: Ambassador Containers
7.5 Understanding the Pad Environment
7.6 Practice Problems

Chapter 8 Running Data-intensive Applications: StatefulSets and Jobs
8.1 Stability Modeling Using Stateful Sets
8.2 Using Initialization Containers in StatefulSets
8.3 Requesting Storage with a Volume Claim Template
8.4 Maintenance tasks using jobs and cron jobs
8.5 Choosing a Platform for Your Paid Application
8.6 Practice Problems

Chapter 9: Managing Application Releases Using Rollouts and Rollbacks
9.1 Rolling Updates in Kubernetes
9.2 Deployment Updates Using Rollout and Rollback
9.3 Setting up rolling updates for deployments
9.4 Rolling Updates for DaemonSets and StatefulSets
Understanding the 9.5 Release Strategy
9.6 Practice Problems

Chapter 10: Packaging and Managing Applications with Helm
10.1 Features provided by Helm
10.2 Packaging Applications with Helm
10.3 Modeling Dependencies Between Charts
10.4 Upgrading and Rolling Back Releases Installed with Helm
10.5 In what situations is Helm suitable?
10.6 Practice Problems

Chapter 11 Application Development: Development Workflow and CI/CD
11.1 Docker Development Workflow
11.2 Kubernetes Development Workflow
11.3 Separating Workloads Using Contexts and Namespaces
11.4 Continuous Delivery with Kubernetes Without Docker
11.5 Evaluating Developer Workflows in a Kubernetes Environment
11.6 Practice Problems

Let's go to the operating environment of Part 3.

Chapter 12: Using Self-Repairing Applications
12.1 Routing Traffic Only to Healthy Pods: Readiness Probes
12.2 Restarting a Broken Pod: Liveness Probe
12.3 Secure Application Updates with Helm
12.4 Protecting Applications and Nodes by Managing Compute Resources
12.5 Limitations of Self-Repairing Applications
12.6 Practice Problems

Chapter 13: Centralized Log Management with FluentD and Elasticsearch
13.1 Log Management in Kubernetes
13.2 Collecting Log Files Using FluentD
13.3 Saving collected logs to Elasticsearch
13.4 Parsing and Filtering Logs
13.5 Other Log Models Applicable to Kubernetes
13.6 Practice Problems

Chapter 14: Kubernetes and Application Monitoring with Prometheus
14.1 How Prometheus Monitors Kubernetes Applications
14.2 Monitoring Applications Using the Prometheus Client Library
14.3 Monitoring using the Measurement Extractor
14.4 Monitoring Kubernetes Objects and Containers
14.5 Direction of Investment for Monitoring
14.6 Practice Problems

Chapter 15: Managing Ingress Traffic Using Ingress
15.1 Ingress Routing Process
15.2 Routing HTTP Traffic Using Ingress Rules
15.3 Comparing Ingress Controllers
15.4 Enforcing HTTPS using Ingress
15.5 Understanding Ingress and the Ingress Controller
15.6 Practice Problems

Chapter 16: Application Security Using Policies, Contexts, and API Access Control
16.1 Restricting Container Communication Using Network Policies
16.2 Restricting Container Functionality Using Security Context
16.3 Blocking or Modifying Workloads Using Webhooks
16.4 Admission Control Using Open Policy Agents
16.5 Kubernetes Security: The Deep Dive
16.6 Practice Problems

Part 4: Advanced Kubernetes Usage

Chapter 17: Resource Security Using Role-Based Access Control
17.1 Controlling Access to Kubernetes Resources
17.2 Controlling Access to Resources Within a Cluster
17.3 Granting roles to users, service accounts, or their groups
17.4 Verifying Authorization Using Third-Party Plugins
17.5 Designing an RBAC Strategy
17.6 Practice Problems

Chapter 18 Deploying Kubernetes: Multi-Node or Multi-Architecture Clusters
18.1 Kubernetes Cluster Structure
18.2 Initializing the Control Plane
18.3 Adding Nodes and Running Applications on the Cluster
18.4 Adding Windows Nodes and Running Hybrid Applications
18.5 Considerations When Scaling a Kubernetes Cluster
18.6 Practice Problems

Chapter 19: Workload Placement and Auto-Scaling
19.1 Kubernetes Workload Placement Process
19.2 Specifying Pad Assignments Using Affinity and Antiaffinity
19.3 Controlling processing capacity using automatic scaling
19.4 Resource Protection Using Preemption and Priority
19.5 Understanding the Mechanism of Workload Management
19.6 Practice Problems

Chapter 20: Extending Kubernetes with Custom Resources and Operators
20.1 Extending Kubernetes with Custom Resources
20.2 Triggering a Workflow Using a Custom Controller
20.3 Managing Third-Party Components Using Operators
20.4 Writing Your Own Operator
20.5 When is it necessary to extend Kubernetes functionality?
20.6 Practice Problems

Chapter 21: Running Serverless Functions in Kubernetes
21.1 How Serverless Platforms Work
21.2 Calling a Serverless Function via an HTTP Request
21.3 Calling Serverless Functions: Event Triggers and Schedule Triggers
21.4 Abstracting Serverless Functions with Serverless
21.5 Understanding the Uses of Serverless Functions
21.6 Practice Problems

Chapter 22: Endless Diligence
22.1 Additional Study Materials by Chapter
22.2 Which Kubernetes Platform Should You Choose?
22.3 Kubernetes Development Process
22.4 Participating in the Community

The appendix is ​​available as a free e-book.
You can find it by searching for 'Kubernetes textbook' in the eBook corner of the online bookstore.
Appendix A.
From application source code to Docker image
Appendix B.
Building Transparent Applications with Container Monitoring
Appendix C.
Managing application settings in containers
Appendix D.
Log generation and management using Docker
","
Detailed image
Detailed Image 1
","
Into the book
I hope this book will give you a true Kubernetes experience.
If you've read all the text in this book and solved all the practice problems, you've mastered the basics of using Kubernetes.
No special background knowledge is required to read this book.
However, you should understand core concepts such as containers and images.
Also, since this is a practical book, it is recommended that you solve practical examples and practice problems yourself to see the greatest effect.
No special hardware is required for the hands-on examples and practice problems.
You can solve it with just a regular laptop (macOS, Windows, or Linux).

Structure of each chapter

Kubernetes is a huge topic.
However, based on my many years of experience running online and in-person training and workshops, I have developed a learning process that has proven effective.
We start with core concepts and gradually move into more detail, placing difficult and complex topics after you have gained some familiarity with Kubernetes.

Chapters 2 through 6 cover how to run applications on Kubernetes. You'll learn how to define applications to run on Kubernetes in a manifest file written in the YAML language.
After learning how to configure networks for inter-container communication and external application access, you'll learn how to read application configuration from Kubernetes, how to read and write data from Kubernetes-managed storage, and how to scale applications.

Chapters 7 through 11 cover the basics of topics related to actual operation of Kubernetes.
First, you will learn how to run containers that share an environment, and how to batch and schedule tasks using containers.
You will also learn how to perform automated, non-disruptive updates using the rolling update feature.
You will also learn how to define application deployments with settings using Helm.
Finally, you will experience the utility of building applications using Kubernetes with various development workflows and continuous integration/continuous delivery pipelines.

Chapters 12 through 16 cover topics related to applicability at the level of actual service operation environments, beyond simply running applications using Kubernetes.
In particular, you will learn how to build self-healing applications, collect and centralize logs, and build monitoring dashboards to monitor system health.
Security is also an essential topic.
You will learn about application security as well as how to safely expose your applications to the outside world.

Chapters 17 through 21 cover more specialized topics.
First, you will learn how to handle large Kubernetes clusters and auto-scaling your applications.
You will also learn how to improve the security of Kubernetes resources by using role-based access control.
Finally, we'll cover how to leverage Kubernetes as a platform for serverless functions, as well as how to build multi-architecture clusters that can run applications on various architectures, including Linux, Windows, Intel, and Arm.

After completing this book, you will be able to use Kubernetes in your daily work without any difficulty.
The final chapter covers tips for future Kubernetes use, recommended reading for in-depth study of each chapter's topic, and considerations when choosing a Kubernetes platform.
--- From the text
","
Publisher's Review
Getting Kubernetes up and running
Everything you need in one book!

Let's learn in a structure optimized for entry, from basics → practice → operation!

Kubernetes is a powerful platform with a huge range of features that are still evolving.
It is also a subject that is not easy to learn.
The author has developed this book based on his years of experience running online and in-person training and workshops, identifying the most effective learning processes.
We start with core concepts and work our way into more detail, leaving difficult and complex topics for later when you've become somewhat comfortable with Kubernetes.
In particular, we tried to focus on how Kubernetes can be used in applications without conveying too much technical knowledge.

Gain diverse experiences with over 280 practical exercises!

Nothing is as memorable as experiencing it yourself.
Because this book is practical, it is structured so that you can directly practice with examples and practice problems. Through over 280 exercises, you can learn the various functions and practical practices of Kubernetes, as well as how to use the various tools that make up the Kubernetes ecosystem.
It is also ideal for preparing for real-world applications through various practical exercises and comprehensive learning.

Learn the basics of containers with a free e-book!

No prior knowledge of Kubernetes is required to read this book, but some familiarity with containers, such as Docker, is assumed.
For readers who need the container knowledge necessary for learning, some of the contents of the Docker Textbook are included as an appendix and provided as a free e-book, so they can use it usefully.
"]
GOODS SPECIFICS
- Date of issue: August 30, 2023
- Page count, weight, size: 728 pages | 183*235*26mm
- ISBN13: 9791140706181

You may also like

카테고리