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即学即用(第二版)
部署
Kubernetes
集群
|
39
可以在一台计算机上启动一个多节点集群。不过,该项目仍处于测试阶段,
所以小心,你可能会遇到意外状况。
如果你真的坚持从裸金属机器入手,那么本书末尾附录
A
中介绍了有关使用
一组树莓派单板计算机构建集群的方法。说明中使用了
kubeadm
工具,而且
也适用树莓派以外的其他机器。
3.1
在公共云上安装
Kubernetes
本章将介绍如何在三大主流云提供商上安装
Kubernetes
,即亚马逊的
AWS
(
Amazon Web Services
)、微软的
Azure
以及
Google
云平台(
Google Cloud
Platform
)。
如果你选择使用云提供商来管理
Kubernetes
,则只需选择以上三者之一;配置
好集群之后,就可以跳至
3.5
节,除非你还希望在其他地方安装
Kubernetes
。
3.1.1 Google Kubernetes Engine
Google
云平台提供了托管的
Kubernetes
即服务,名叫
Google Kubernetes
Engine
(
GKE
)。如果想使用
GKE
,你需要一个
Google
云平台账号,而且
还需要启用账单功能,并安装好
gcloud
工具。
在安装好
gcloud
之后,首先需要设置默认区域:
$
gcloud config set compute/zone us-west1-a
接下来,创建一个集群:
$
gcloud container clusters create kuar-cluster
你需要等候几分钟。等到集群就绪后,可以使用以下方法获取集群的凭据: ...
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