Kubernetes in Practice cover

Kubernetes in Practice

Rating 3.5
Word count
81K words
Chapters
93
ISBN
9787121283727

Tags

Summary

The rise of Docker revived the once-sluggish PaaS market and brought a wave of Micro-PaaS offerings, with Kubernetes as its most representative member—an open-source release of Google's years of large-scale container management technology. As more enterprises confront the challenges of internet-scale workloads, Kubernetes, with its sound philosophy and design, is gradually establishing a new technical standard and represents an excellent breakthrough opportunity for operations directors, architects, and software engineers in any field. Combining theory with hands-on practice and drawing on numerous cases, this book explains every aspect of Kubernetes in progressive depth, including platform architecture, core foundational features, networking, security, and resource management, as well as the makeup of the broader ecosystem, aiming to help readers gain comprehensive and thorough mastery of the underlying Kubernetes + Docker technology stack.

Editor's review

Written by Wu Longhui, Kubernetes in Action is an essential guide for practitioners of container orchestration. Drawing on his deep experience in the field, the author systematically breaks down the core concepts and practical essentials of this complex system. Rather than merely listing concepts, the book builds a clear learning path from the perspective of real-world deployment, operations, and troubleshooting. Its content is logically organized, progressing from cluster setup to detailed explanations of core objects and on to advanced topics such as storage, networking, and security, with particular emphasis on worked examples of commands and configuration files that offer direct guidance for hands-on practice. Among comparable technical books, its standout feature is its practice-oriented approach: it offers pragmatic ideas and solutions for problems likely to arise in production environments (such as resource scheduling optimization and high-availability application deployment) and avoids the empty abstractions of purely theoretical discussion. For readers who want to go from beginner to mastering core Kubernetes operations, this book is a reliable and substantive reference. It helps readers bridge the gap from understanding concepts to actually being able to manage a cluster, and its value lies in providing an organized body of practical knowledge that can be applied directly.

Who it's for

A good fit for

  • Developers and operations staff with a foundation in Linux and Docker who want to learn Kubernetes systematically
  • Technical decision-makers and architects who are or plan to migrate their business to a containerized platform
  • Kubernetes practitioners who need a handy reference for looking up commands and configuration examples
  • Computer science students or researchers who want to understand the core components of cloud-native infrastructure in depth

Not a good fit for

  • Absolute beginners with no conceptual foundation in container technology
  • Readers seeking only a high-level overview of Kubernetes architecture and philosophy rather than specific operational details

Reading tips

  1. Read the chapters in order and be sure to run the book's commands and examples in a lab environment as you go to reinforce your understanding
  2. When reading about core concepts (such as Pod, Deployment, and Service), consult the official documentation alongside the book to deepen your understanding of the design intent
  3. For complex chapters such as those on storage and networking, read through first to build an overall picture, then study them closely and practice when you have relevant needs

About the publisher

Publishing House of Electronics Industry China · Founded in 1982

The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.

Contents

  1. 版权信息
  2. 前言
  3. 第1部分 Kubernetes基础篇
  4. 第1章 Kubernetes介绍
  5. 1.1 为什么会有Kubernetes
  6. 1.2 Kubernetes是什么
  7. 1.3 Kubernetes的发展历史
  8. 1.4 Kubernetes的核心概念
  9. 第2章 Kubernetes的架构和部署
  10. 2.1 Kubernetes的架构和组件
  11. 2.2 部署Kubernetes
  12. 2.3 安装Kubernetes扩展插件
  13. 第3章 Kubernetes快速入门
  14. 3.1 示例应用Guestbook
  15. 3.2 准备工作
  16. 3.3 运行Redis
  17. 3.4 运行Frontend
  18. 3.5 设置Guestbook外网访问
  19. 3.6 清理Guestbook
  20. 第4章 Pod
  21. 4.1 国际惯例的Hello World
  22. 4.2 Pod的基本操作
  23. 4.3 Pod与容器
  24. 4.4 Pod的网络
  25. 4.5 Pod的重启策略
  26. 4.6 Pod的状态和生命周期
  27. 4.7 自定义检查Pod
  28. 4.8 调度Pod
  29. 4.9 问题定位指南
  30. 第5章 Replication Controller
  31. 5.1 持续运行的Pod
  32. 5.2 Pod模板
  33. 5.3 Replication Controller和Pod的关联
  34. 5.4 弹性伸缩
  35. 5.5 自动伸缩
  36. 5.6 滚动升级
  37. 5.7 Deployment
  38. 5.8 一次性任务的Pod
  39. 第6章 Service
  40. 6.1 Service代理Pod
  41. 6.2 Service的虚拟IP
  42. 6.3 服务代理
  43. 6.4 服务发现
  44. 6.5 发布Service
  45. 第7章 数据卷
  46. 7.1 Kubernetes数据卷
  47. 7.2 本地数据卷
  48. 7.3 网络数据卷
  49. 7.4 Persistent Volume和Persistent Volume Claim
  50. 7.5 信息数据卷
  51. 第8章 访问Kubernetes API
  52. 8.1 API对象与元数据
  53. 8.2 如何访问Kubernetes API
  54. 8.3 使用命令行工具kubectl
  55. 第2部分 Kubernetes高级篇
  56. 第9章 Kubernetes网络
  57. 9.1 Docker网络模型
  58. 9.2 Kubernetes网络模型
  59. 9.3 容器间通信
  60. 9.4 Pod间通信
  61. 9.5 Service到Pod通信
  62. 第10章 Kubernetes安全
  63. 10.1 Kubernetes安全原则
  64. 10.2 Kubernetes API的安全访问
  65. 10.3 Service Account
  66. 10.4 容器安全
  67. 10.5 多租户
  68. 第11章 Kubernetes资源管理
  69. 11.1 Kubernetes资源模型
  70. 11.2 资源请求和限制
  71. 11.3 Limit Range
  72. 11.4 Resource Quota
  73. 第12章 管理和运维Kubernetes
  74. 12.1 Daemon Pod
  75. 12.2 Kubernetes的高可用性
  76. 12.3 平台监控
  77. 12.4 平台日志
  78. 12.5 垃圾清理
  79. 12.6 Kubernetes的Web界面
  80. 第3部分 Kubernetes生态篇
  81. 第13章 CoreOS
  82. 13.1 CoreOS介绍
  83. 13.2 CoreOS工具链
  84. 13.3 CoreOS实践
  85. 第14章 Etcd
  86. 14.1 Etcd介绍
  87. 14.2 Etcd的结构
  88. 14.3 Etcd实践
  89. 第15章 Mesos
  90. 15.1 Mesos介绍
  91. 15.2 Mesos的架构
  92. 15.3 Marathon和K8SM介绍
  93. 15.4 Mesos实践

FAQ

Which Kubernetes version are the code examples and configurations in this book based on?
The book is based on a relatively stable Kubernetes version at the time of writing; consult the preface or appendix for the specific version number. Because Kubernetes iterates quickly, some commands or APIs may differ slightly in the latest versions, but the core concepts and operational logic remain consistent.
How much Docker knowledge do I need to read this book?
You need to grasp basic Docker concepts such as images, containers, and writing Dockerfiles, as well as common container operation commands. The book focuses on container orchestration and management, with Docker as a foundational prerequisite.
Does this book cover ecosystem tools such as service mesh (e.g., Istio) or CI/CD?
As a practical guide focused on Kubernetes core, the book concentrates on Kubernetes itself. Advanced ecosystem tools such as Istio may be mentioned briefly or pointed to as directions for further study, but are not a focus. Having mastered this book, readers can use it as a foundation to explore the broader cloud-native ecosystem.

Related on WeRead

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

吴龙辉 Author

Wu Longhui is a Chinese author of technical books. Public information about him is limited, and his main identifiable role at present comes from his work Kubernetes in Action. The book is classified under programming and design, indicating that his writing focuses on the highly practical field of container orchestration and cloud-native technology. Judging from the title and category, the content leans toward hands-on operation and engineering practice, aimed at developers and operations staff who need to deploy and maintain Kubernetes clusters in real projects. Only one of his works is included in the library, which is not enough to trace his full writing trajectory or stylistic development. Beyond this book, no reliable public information is available about his education, professional experience, or future writing plans. For readers interested in an introduction to container technology and practical exercises, he and his book can serve as a reference sample of Chinese-language writing in this field.

Top rated in the same category