
Introduction to Kubernetes through Illustrations and Practice
Description
Book Introduction
Experience real-world troubleshooting, from cluster failures to OOMKilled and kubectl debugging.
Gain operational experience and problem-solving skills through creating, breaking, and fixing!
Develop a practical sense easily with a rich cartoon and diagram-based approach and step-by-step structure!
Kubernetes is a core technology of modern IT infrastructure and a powerful tool for stable application operation.
However, because of its stability, it is not easy to gain troubleshooting experience.
In this book, you will experience the process of naturally facing and solving problems while fixing a broken Kubernetes.
You'll learn the fundamentals of Kubernetes firsthand by repeatedly creating containers, deploying applications to a cluster, and then performing failure and recovery scenarios. By replicating common scenarios like OOMKilled errors and service connectivity issues, you'll develop the necessary operational acumen.
Beyond simple construction and operation, we also explain tools and methods for early detection of problems, such as "observability" and "monitoring," to examine the internal state of the system and achieve advanced operational capabilities.
By visually explaining complex concepts with rich cartoons and illustrations and closely linking theory and practice through hands-on exercises, it is designed to help students deeply understand the principles of Kubernetes and acquire practical problem-solving skills.
Gain operational experience and problem-solving skills through creating, breaking, and fixing!
Develop a practical sense easily with a rich cartoon and diagram-based approach and step-by-step structure!
Kubernetes is a core technology of modern IT infrastructure and a powerful tool for stable application operation.
However, because of its stability, it is not easy to gain troubleshooting experience.
In this book, you will experience the process of naturally facing and solving problems while fixing a broken Kubernetes.
You'll learn the fundamentals of Kubernetes firsthand by repeatedly creating containers, deploying applications to a cluster, and then performing failure and recovery scenarios. By replicating common scenarios like OOMKilled errors and service connectivity issues, you'll develop the necessary operational acumen.
Beyond simple construction and operation, we also explain tools and methods for early detection of problems, such as "observability" and "monitoring," to examine the internal state of the system and achieve advanced operational capabilities.
By visually explaining complex concepts with rich cartoons and illustrations and closely linking theory and practice through hands-on exercises, it is designed to help students deeply understand the principles of Kubernetes and acquire practical problem-solving skills.
- You can preview some of the book's contents.
Preview
index
Part 1: Building Kubernetes
Chapter 1: Creating a Docker Container
1.1 Why does Kubernetes need Docker?
1.2 Getting to Know Docker
____1.2.1 What is Docker?
____1.2.2 What is a container?
____1.2.3 Why Containers?
____1.2.4 So what is Docker?
____1.2.5 Preparation: Creating a Docker Environment
____1.2.6 Running a Container
____1.2.7 Docker image that serves as the container's framework
____1.2.8 Dockerfile, the design document for the container image
____1.2.9 Building a Docker Image
____1.2.10 Running a container with a custom Docker image
____1.2.11 Publishing the Docker Image
____1.2.12 Tips for Writing Dockerfiles
1.3 [Create] Running your own http server container
Chapter 2: Creating a Kubernetes Cluster
2.1 What is Kubernetes?
____2.1.1 What happened after containers became easy to create and destroy?
____2.1.2 Features of Kubernetes
____2.1.3 Kubernetes Architecture Overview
____2.1.4 How to Build Various Kubernetes Clusters
2.2 [Create and Edit] Creating and Deleting a Kubernetes Cluster
Chapter 3 Overall Description
3.1 Learning Flow
3.2 About the application you use
Chapter 4: Building Applications on a Kubernetes Cluster
4.1 Running Applications on a Kubernetes Cluster
____4.1.1 Manifest containing the specifications of the resource
____4.1.2 Minimum configuration resources to run a container: Pod
____4.1.3 The space where resources are created: namespace
4.2 [Create] Creating a Pod
____4.2.1 Preparation: Ensure your Kubernetes cluster is ready before creating Pods
____4.2.2 Trying out Manifest
____4.2.3 Applying the Manifest to a Kubernetes Cluster
Part 2: Learning Kubernetes by Breaking Applications
Chapter 5 Troubleshooting Guide and Kubectl Command Usage
5.1 Troubleshooting Guide
____5.1.1 Pod STATUS column to help with troubleshooting
5.2 Checking the status with kubectl
____5.2.1 Checking resources: kubectl get
____5.2.2 Outputting resource details: kubectl describe
____5.2.3 Outputting container logs: kubectl logs
5.3 Outputting detailed information with the kubectl command
____5.3.1 Starting a sidecar container for debugging: kubectl debug
____5.3.2 Running a container in place kubectl run
____5.3.3 Logging into a container: kubectl exec
____5.3.4 Accessing the Application Using Port Forwarding
5.4 Kubectl Commands to Troubleshoot Issues
____5.4.1 Editing a manifest in place: kubectl edit
____5.4.2 Deleting a resource: kubectl delete
5.5 Tips for using the terminal more conveniently
____5.5.1 Setting up auto-completion
____5.5.2 Setting an alias for kubectl
____5.5.3 Abbreviating Resource Names
____5.5.4 Tools to help you work with kubectl
____5.5.5 Trying the kubectl plugin
5.6 [Fix] Debugging
____5.6.1 Preparation: Verifying the Pod is Running
____5.6.2 Breaking the Application
____5.6.3 Investigating the Application
Chapter 6: Creating and Destroying Kubernetes Resources
6.1 Understanding the Pod Lifecycle
6.2 ReplicaSet and Deployment for Pod Multiplication
____6.2.1 ReplicaSet
____6.2.2 Deployment
____6.2.3 [Creating and Fixing] Creating and Breaking Deployments
6.3 Service that helps connect to Pod
____6.3.1 Understanding the Service Type
____6.3.2 DNS using Service
____6.3.3 [Broken] Broken Service
6.4 ConfigMap that reads information from outside the Pod
____6.4.1 Reading in environment variables
____6.4.2 Reading configuration files through volumes
____6.4.3 [Broken] Failure due to ConfigMap settings!
6.5 Secret for handling confidential data
____6.5.1 Reading in environment variables
____6.5.2 Reading a container's configuration file using a volume
6.6 Job for tasks that run only once
6.7 CronJob to run Job regularly
Chapter 7: Making Stateless Applications Secure
7.1 Application Health Check
____7.1.1 Readiness probe
____7.1.2 Liveness probe
____7.1.3 Startup probe
____7.1.4 [Broken] State is Running, but…
7.2 Specifying Appropriate Resources for Your Application
____7.2.1 Requesting container resource usage with resource requests
____7.2.2 Controlling container resource usage with resource limits
____7.2.3 Unit of Resources
____7.2.4 Pod Quality of Service (QoS) Class
____7.2.5 [Broken] Pod broke again
7.3 Understanding the Convenient Features of Pod Scheduling
____7.3.1 Specifying Nodes with Node Selectors
____7.3.2 Flexible Pod Scheduling with Affinity and Anti-affinity
____7.3.3 Setting Pod Topology Spread Constraints for Pod Distribution
____7.3.4 Taint and Toleration
____7.3.5 Tips: Pod Priority and Preemption
____7.3.6 [Broken] Pod scheduling failure
7.4 Scaling Your Application
____7.4.1 Horizontal Scaling
____7.4.2 Vertical Scaling
7.5 Preparing for Node Downtime
____7.5.1 PodDisruptionBudget (PDB) to ensure application availability
Chapter 8 Complete Review: Fixing the Application
8.1 Creating a staging environment
8.2 Building the Application Environment
8.3 Updating the Application
8.4 Checking the normal status
8.5 Investigating the Cause
Part 3: Kubernetes: Keeps Moving Even When It's Broken
Chapter 9: Understanding Kubernetes' Structure and Architecture
9.1 About Kubernetes Architecture
9.2 Architecture Overview
9.3 Control Plane: The Core of a Kubernetes Cluster
9.4 Worker nodes responsible for running applications
9.5 CLI for accessing Kubernetes clusters: kubectl
9.6 Flow from kubectl apply until the container is running
9.7 [Building and Breaking] Is Kubernetes Unbreakable?
____9.7.1 Preparation: Building a Cluster
____9.7.2 Running hello-server
____9.7.3 Stopping the Control Plane
9.8 How to Scale Kubernetes
Chapter 10: Understanding the Kubernetes Development Workflow
10.1 Deploying to Kubernetes
____10.1.1 Push-type deployment method: CIOps
____10.1.2 Pull-type deployment method: GitOps
10.2 Managing Kubernetes Manifests
____10.2.1 Helm
____10.2.2 Jsonnet
____10.2.3 Own template
____10.2.4 Kustomize
____10.2.5 [Create] Making Manifests Easier to Understand with Kustomize
Chapter 11: Dealing with Observability and Monitoring
11.1 Let's learn about observability
____11.1.1 Collecting Information: Logs
____11.1.2 Handling Measurements: Metrics
____11.1.3 Tracking Communications: Trace
11.2 Learn about monitoring
____11.2.1 Visualizing Information: Dashboards
____11.2.2 and later alerts: Notifications
11.3 [Building] Building a Monitoring System
____11.3.1 Installing Prometheus/Grafana
____11.3.2 Running the Metrics Collection Application
____11.3.3 Setting up for collecting metrics
____11.3.4 Connecting to Prometheus
____11.3.5 Connecting to Grafana
Chapter 12: What to Learn After This Book
12.1 Obtaining Certification
12.2 Expanding Your Knowledge of Application Operations in Kubernetes
12.3 Becoming Resilient to Kubernetes Failures
12.4 Becoming a Kubernetes Committer
12.5 How to improve your skills
____12.5.1 Read the official documentation
____12.5.2 Reading the Internal Implementation Code
____12.5.3 Expanding Your Kubernetes Knowledge with Books
____12.5.4 Building Your Own Kubernetes Cluster
____12.5.5 Creating a Custom Controller
Chapter 1: Creating a Docker Container
1.1 Why does Kubernetes need Docker?
1.2 Getting to Know Docker
____1.2.1 What is Docker?
____1.2.2 What is a container?
____1.2.3 Why Containers?
____1.2.4 So what is Docker?
____1.2.5 Preparation: Creating a Docker Environment
____1.2.6 Running a Container
____1.2.7 Docker image that serves as the container's framework
____1.2.8 Dockerfile, the design document for the container image
____1.2.9 Building a Docker Image
____1.2.10 Running a container with a custom Docker image
____1.2.11 Publishing the Docker Image
____1.2.12 Tips for Writing Dockerfiles
1.3 [Create] Running your own http server container
Chapter 2: Creating a Kubernetes Cluster
2.1 What is Kubernetes?
____2.1.1 What happened after containers became easy to create and destroy?
____2.1.2 Features of Kubernetes
____2.1.3 Kubernetes Architecture Overview
____2.1.4 How to Build Various Kubernetes Clusters
2.2 [Create and Edit] Creating and Deleting a Kubernetes Cluster
Chapter 3 Overall Description
3.1 Learning Flow
3.2 About the application you use
Chapter 4: Building Applications on a Kubernetes Cluster
4.1 Running Applications on a Kubernetes Cluster
____4.1.1 Manifest containing the specifications of the resource
____4.1.2 Minimum configuration resources to run a container: Pod
____4.1.3 The space where resources are created: namespace
4.2 [Create] Creating a Pod
____4.2.1 Preparation: Ensure your Kubernetes cluster is ready before creating Pods
____4.2.2 Trying out Manifest
____4.2.3 Applying the Manifest to a Kubernetes Cluster
Part 2: Learning Kubernetes by Breaking Applications
Chapter 5 Troubleshooting Guide and Kubectl Command Usage
5.1 Troubleshooting Guide
____5.1.1 Pod STATUS column to help with troubleshooting
5.2 Checking the status with kubectl
____5.2.1 Checking resources: kubectl get
____5.2.2 Outputting resource details: kubectl describe
____5.2.3 Outputting container logs: kubectl logs
5.3 Outputting detailed information with the kubectl command
____5.3.1 Starting a sidecar container for debugging: kubectl debug
____5.3.2 Running a container in place kubectl run
____5.3.3 Logging into a container: kubectl exec
____5.3.4 Accessing the Application Using Port Forwarding
5.4 Kubectl Commands to Troubleshoot Issues
____5.4.1 Editing a manifest in place: kubectl edit
____5.4.2 Deleting a resource: kubectl delete
5.5 Tips for using the terminal more conveniently
____5.5.1 Setting up auto-completion
____5.5.2 Setting an alias for kubectl
____5.5.3 Abbreviating Resource Names
____5.5.4 Tools to help you work with kubectl
____5.5.5 Trying the kubectl plugin
5.6 [Fix] Debugging
____5.6.1 Preparation: Verifying the Pod is Running
____5.6.2 Breaking the Application
____5.6.3 Investigating the Application
Chapter 6: Creating and Destroying Kubernetes Resources
6.1 Understanding the Pod Lifecycle
6.2 ReplicaSet and Deployment for Pod Multiplication
____6.2.1 ReplicaSet
____6.2.2 Deployment
____6.2.3 [Creating and Fixing] Creating and Breaking Deployments
6.3 Service that helps connect to Pod
____6.3.1 Understanding the Service Type
____6.3.2 DNS using Service
____6.3.3 [Broken] Broken Service
6.4 ConfigMap that reads information from outside the Pod
____6.4.1 Reading in environment variables
____6.4.2 Reading configuration files through volumes
____6.4.3 [Broken] Failure due to ConfigMap settings!
6.5 Secret for handling confidential data
____6.5.1 Reading in environment variables
____6.5.2 Reading a container's configuration file using a volume
6.6 Job for tasks that run only once
6.7 CronJob to run Job regularly
Chapter 7: Making Stateless Applications Secure
7.1 Application Health Check
____7.1.1 Readiness probe
____7.1.2 Liveness probe
____7.1.3 Startup probe
____7.1.4 [Broken] State is Running, but…
7.2 Specifying Appropriate Resources for Your Application
____7.2.1 Requesting container resource usage with resource requests
____7.2.2 Controlling container resource usage with resource limits
____7.2.3 Unit of Resources
____7.2.4 Pod Quality of Service (QoS) Class
____7.2.5 [Broken] Pod broke again
7.3 Understanding the Convenient Features of Pod Scheduling
____7.3.1 Specifying Nodes with Node Selectors
____7.3.2 Flexible Pod Scheduling with Affinity and Anti-affinity
____7.3.3 Setting Pod Topology Spread Constraints for Pod Distribution
____7.3.4 Taint and Toleration
____7.3.5 Tips: Pod Priority and Preemption
____7.3.6 [Broken] Pod scheduling failure
7.4 Scaling Your Application
____7.4.1 Horizontal Scaling
____7.4.2 Vertical Scaling
7.5 Preparing for Node Downtime
____7.5.1 PodDisruptionBudget (PDB) to ensure application availability
Chapter 8 Complete Review: Fixing the Application
8.1 Creating a staging environment
8.2 Building the Application Environment
8.3 Updating the Application
8.4 Checking the normal status
8.5 Investigating the Cause
Part 3: Kubernetes: Keeps Moving Even When It's Broken
Chapter 9: Understanding Kubernetes' Structure and Architecture
9.1 About Kubernetes Architecture
9.2 Architecture Overview
9.3 Control Plane: The Core of a Kubernetes Cluster
9.4 Worker nodes responsible for running applications
9.5 CLI for accessing Kubernetes clusters: kubectl
9.6 Flow from kubectl apply until the container is running
9.7 [Building and Breaking] Is Kubernetes Unbreakable?
____9.7.1 Preparation: Building a Cluster
____9.7.2 Running hello-server
____9.7.3 Stopping the Control Plane
9.8 How to Scale Kubernetes
Chapter 10: Understanding the Kubernetes Development Workflow
10.1 Deploying to Kubernetes
____10.1.1 Push-type deployment method: CIOps
____10.1.2 Pull-type deployment method: GitOps
10.2 Managing Kubernetes Manifests
____10.2.1 Helm
____10.2.2 Jsonnet
____10.2.3 Own template
____10.2.4 Kustomize
____10.2.5 [Create] Making Manifests Easier to Understand with Kustomize
Chapter 11: Dealing with Observability and Monitoring
11.1 Let's learn about observability
____11.1.1 Collecting Information: Logs
____11.1.2 Handling Measurements: Metrics
____11.1.3 Tracking Communications: Trace
11.2 Learn about monitoring
____11.2.1 Visualizing Information: Dashboards
____11.2.2 and later alerts: Notifications
11.3 [Building] Building a Monitoring System
____11.3.1 Installing Prometheus/Grafana
____11.3.2 Running the Metrics Collection Application
____11.3.3 Setting up for collecting metrics
____11.3.4 Connecting to Prometheus
____11.3.5 Connecting to Grafana
Chapter 12: What to Learn After This Book
12.1 Obtaining Certification
12.2 Expanding Your Knowledge of Application Operations in Kubernetes
12.3 Becoming Resilient to Kubernetes Failures
12.4 Becoming a Kubernetes Committer
12.5 How to improve your skills
____12.5.1 Read the official documentation
____12.5.2 Reading the Internal Implementation Code
____12.5.3 Expanding Your Kubernetes Knowledge with Books
____12.5.4 Building Your Own Kubernetes Cluster
____12.5.5 Creating a Custom Controller
Detailed image

Publisher's Review
Kubernetes, no longer fearful!
Gain practical Kubernetes skills with easy illustrations and hands-on exercises!
"When working on infrastructure-related tasks, there are many times when things don't work.
“I use Kubernetes, but I don’t really know much about it, so I get confused when problems arise.”
"So let's deploy our application to Kubernetes and break it!
If you only know the normal state, it will be difficult when something breaks.
If you can break something and fix it, you can be at peace even if it actually breaks.
Knowing how to investigate and resolve the cause can be applied.
Let's learn knowledge that can be applied in the field!"
- Learn the core concepts and operating principles of Kubernetes in an easy and fun way with rich illustrations!
- Learn through hands-on practice of various problem situations that can be encountered in the field.
- Develop practical skills and troubleshooting capabilities for building and operating Kubernetes.
- A Kubernetes troubleshooting guide that teaches you how to break things, fix them, and learn!
[Author's Preface]
This book is based on the series 'Starting Kubernetes with Pictures' published in CodeZine.
While creating this book, I thought deeply again about what kind of book would be friendly to beginners.
I conceived this book while remembering my past self, when I first started working on something, I would struggle even with the manual, and I would always run into problems even if I followed the manual.
Also keep in mind that everyone has different learning styles.
My learning style is as follows:
- Learn based on visual information.
- It's especially easier to get started if it's in the form of a cartoon.
- First, learn by moving your hands and turning them.
Kubernetes itself is difficult, but I remembered how I used to lament that it was difficult to understand the many terms that came with it, so I tried to explain the Kubernetes ecosystem as much as possible.
With technology advancing rapidly and requiring the acquisition of diverse knowledge simultaneously, we thank you again for taking the plunge into Kubernetes! We hope this book will be the first step on your journey.
[Translator's Preface]
Kubernetes is as complex in its concepts and structure as it is powerful, making it a bit of a barrier to entry for beginners.
This book is a solid guide that lowers that barrier.
It is designed to allow anyone to easily practice Kubernetes in a local environment by utilizing kind. It goes beyond simply listing commands and intentionally causes failures, and guides you step-by-step through the process of finding the cause and recovering from them.
Through this, readers can experience in advance the embarrassing situations they may encounter in the real world and acquire the skills to resolve them.
Additionally, the book is interspersed with cartoons to make complex concepts more accessible.
Thanks to this, even readers who are new to Kubernetes can get started without any burden, and they can naturally build practical skills by learning a balanced mix of practice and theory.
Gain practical Kubernetes skills with easy illustrations and hands-on exercises!
"When working on infrastructure-related tasks, there are many times when things don't work.
“I use Kubernetes, but I don’t really know much about it, so I get confused when problems arise.”
"So let's deploy our application to Kubernetes and break it!
If you only know the normal state, it will be difficult when something breaks.
If you can break something and fix it, you can be at peace even if it actually breaks.
Knowing how to investigate and resolve the cause can be applied.
Let's learn knowledge that can be applied in the field!"
- Learn the core concepts and operating principles of Kubernetes in an easy and fun way with rich illustrations!
- Learn through hands-on practice of various problem situations that can be encountered in the field.
- Develop practical skills and troubleshooting capabilities for building and operating Kubernetes.
- A Kubernetes troubleshooting guide that teaches you how to break things, fix them, and learn!
[Author's Preface]
This book is based on the series 'Starting Kubernetes with Pictures' published in CodeZine.
While creating this book, I thought deeply again about what kind of book would be friendly to beginners.
I conceived this book while remembering my past self, when I first started working on something, I would struggle even with the manual, and I would always run into problems even if I followed the manual.
Also keep in mind that everyone has different learning styles.
My learning style is as follows:
- Learn based on visual information.
- It's especially easier to get started if it's in the form of a cartoon.
- First, learn by moving your hands and turning them.
Kubernetes itself is difficult, but I remembered how I used to lament that it was difficult to understand the many terms that came with it, so I tried to explain the Kubernetes ecosystem as much as possible.
With technology advancing rapidly and requiring the acquisition of diverse knowledge simultaneously, we thank you again for taking the plunge into Kubernetes! We hope this book will be the first step on your journey.
[Translator's Preface]
Kubernetes is as complex in its concepts and structure as it is powerful, making it a bit of a barrier to entry for beginners.
This book is a solid guide that lowers that barrier.
It is designed to allow anyone to easily practice Kubernetes in a local environment by utilizing kind. It goes beyond simply listing commands and intentionally causes failures, and guides you step-by-step through the process of finding the cause and recovering from them.
Through this, readers can experience in advance the embarrassing situations they may encounter in the real world and acquire the skills to resolve them.
Additionally, the book is interspersed with cartoons to make complex concepts more accessible.
Thanks to this, even readers who are new to Kubernetes can get started without any burden, and they can naturally build practical skills by learning a balanced mix of practice and theory.
GOODS SPECIFICS
- Date of issue: October 31, 2025
- Page count, weight, size: 332 pages | 183*235*13mm
- ISBN13: 9791140716326
You may also like
카테고리
korean
korean