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即学即用(第二版)
204
第
15
章
存储解决方案与
Kubernetes
的集成
在许多情况下,将状态从应用程序中解耦出来,并尽可能按照无状态的方式
构建微服务,可以获得最可靠、最容易管理的系统。
然而,对于任何略带复杂性的系统,某个地方必然存在一定的状态,可能是
数据库中的记录,也可能是为
Web
搜索引擎提供结果的索引分片。有些时候,
你不得不将数据存储在某处。
将这些数据与容器以及容器编排解决方案集成在一起,通常是构建分布式系
统中最复杂的一方面。这种复杂性很大程度上是因为转向容器化的体系架构
就意味着需要转变成解耦、不可变以及声明式的应用程序开发。对于无状态
Web
应用程序来说,应用这些模式相对比较容易,然而即便像
Cassandra
或
MongoDB
等“云原生”存储解决方案也需要某种手动或命令式的步骤来建立
可靠的、可复制的解决方案。
例如,考虑在
MongoDB
中设置一个副本集,首先我们需要部署
Mongo
守护
进程,然后以命令式的方式运行一个命令来标识该
Mongo
集群中的领导者以
及参与者。当然,这些步骤可以写成脚本,但是在容器化的世界中,我们很
难搞清楚如何将这类命令集成到部署中。同样,在一组复制集群中,就连为
每个容器获取一个可被
DNS
解析的名称都很困难。
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