Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
Kubernetes即学即用(第二版)
by
Brendan Burns
,
Joe Beda
,
Kelsey Hightower
June 2021
Intermediate to advanced
300 pages
5h 4m
Chinese
China Electric Power Press Ltd.
Content preview from
Kubernetes即学即用(第二版)
38
第
3
章
部署
Kubernetes
集群
通过上一章的学习,我们成功地构建了一个应用程序容器,接下来我们将学
习如何将这个容器转换为完整、可靠且可扩展的分布式系统。为此,我们需
要一个正常运行的
Kubernetes
集群。在撰写本书之际,大多数公共云都提供
基于云的
Kubernetes
服务,因此只需运行几个命令行指令就可以轻松地创建
一个集群。如果你刚开始接触
Kubernetes
,那么我们强烈建议你通过这种方
法建立集群。即使最终你打算在裸金属机器上运行
Kubernetes
,那么这也仍
然不失为一种快速入门
Kubernetes
、了解
Kubernetes
本身,以及学习如何在
物理机器上安装
Kubernetes
的好方法。此外,管理
Kubernetes
集群是一项非
常复杂的任务,对于大多数人来说,将管理重任交给云更合理,尤其是在大
多数云中这项管理服务都是免费的。
当然,使用基于云的解决方案需要花钱购买基于云的资源,还需要一个能连
接到云的网络。由于这些原因,有时候本地开发可能更合适,而
minikube
工
具就提供了一种简便的方法,可以帮助你在本地笔记本电脑或台式机的虚拟
机上运行本地
Kubernetes
集群。尽管这是一个不错的选择,但
minikube
只能
创建一个单节点的集群,这并不能完整地演示
Kubernetes
集群的所有方面。
因此,我们建议你从基于云的解决方案入手,除非这种解决方案确实不适合
你的实际情况。最近还有一种方法是运行
Docker-in-Docker
集群,这种集群
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
PyTorch深度学习
Posts & Telecom Press, Vishnu Subramanian
Python数据分析
Posts & Telecom Press, Ivan Idris
Python贝叶斯分析(第2版)
Posts & Telecom Press, Osvaldo Martin
Python高级编程(第2版)
Posts & Telecom Press, Michał Jaworski, Tarek Ziadé
Publisher Resources
ISBN: 9787519856762