You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a solution, virtualization was introduced. It allows you to run multiple Virtual Machines (VMs) on a single physical server's CPU. Virtualization allows applications to be isolated between VMs and provides a level of security as the information of one application cannot be freely accessed by another application.
73
73
-->
74
74
**虚拟化部署时代:**
75
75
76
-
作为解决方案,引入了虚拟化。虚拟化技术允许你在单个物理服务器的 CPU 上运行多个虚拟机(VM)。
77
-
虚拟化允许应用程序在 VM 之间隔离,并提供一定程度的安全,因为一个应用程序的信息
78
-
不能被另一应用程序随意访问。
76
+
因此,虚拟化技术被引入了。虚拟化技术允许你在单个物理服务器的 CPU 上运行多个虚拟机(VM)。
77
+
虚拟化允许应用程序在 VM 之间隔离,并提供一定程度的安全性,
78
+
因为一个应用程序的信息不能被另一应用程序随意访问。
79
79
80
80
<!--
81
81
Virtualization allows better utilization of resources in a physical server and allows better scalability because an application can be added or updated easily, reduces hardware costs, and much more.
82
82
83
83
Each VM is a full machine running all the components, including its own operating system, on top of the virtualized hardware.
84
84
-->
85
-
虚拟化技术能够更好地利用物理服务器上的资源,并且因为可轻松地添加或更新应用程序
85
+
虚拟化技术能够更好地利用物理服务器上的资源,并且因为可轻松地添加或更新应用程序,
86
86
而可以实现更好的可伸缩性,降低硬件成本等等。
87
87
88
88
每个 VM 是一台完整的计算机,在虚拟化硬件之上运行所有组件,包括其自己的操作系统。
@@ -93,7 +93,7 @@ Containers are similar to VMs, but they have relaxed isolation properties to sha
93
93
-->
94
94
**容器部署时代:**
95
95
96
-
容器类似于 VM,但是它们具有被放宽的隔离属性,可以在应用程序之间共享操作系统(OS)。
96
+
容器类似于 VM,但是它们具有更宽松的隔离属性,可以在应用程序之间共享操作系统(OS)。
97
97
因此,容器被认为是轻量级的。容器与 VM 类似,具有自己的文件系统、CPU、内存、进程空间等。
98
98
由于它们与基础架构分离,因此可以跨云和 OS 发行版本进行移植。
99
99
@@ -115,8 +115,8 @@ Containers are becoming popular because they have many benefits. Some of the con
115
115
* Resource utilization: high efficiency and density.
116
116
-->
117
117
* 敏捷应用程序的创建和部署:与使用 VM 镜像相比,提高了容器镜像创建的简便性和效率。
118
-
* 持续开发、集成和部署:通过快速简单的回滚(由于镜像不可变性),支持可靠且频繁的
119
-
容器镜像构建和部署。
118
+
* 持续开发、集成和部署:通过快速简单的回滚(由于镜像不可变性),
119
+
支持可靠且频繁的容器镜像构建和部署。
120
120
* 关注开发与运维的分离:在构建/发布时而不是在部署时创建应用程序容器镜像,
121
121
从而将应用程序与基础架构分离。
122
122
* 可观察性:不仅可以显示操作系统级别的信息和指标,还可以显示应用程序的运行状况和其他指标信号。
@@ -133,18 +133,18 @@ Containers are becoming popular because they have many benefits. Some of the con
Containers are a good way to bundle and run your applications. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn't it be easier if this behavior was handled by a system?
140
140
-->
141
-
容器是打包和运行应用程序的好方式。在生产环境中,你需要管理运行应用程序的容器,并确保不会停机。
142
-
例如,如果一个容器发生故障,则需要启动另一个容器。如果系统处理此行为,会不会更容易?
141
+
容器是打包和运行应用程序的好方式。在生产环境中,你需要管理运行着应用程序的容器,并确保不会停机。
142
+
例如,如果一个容器发生故障,则需要启动另一个容器。如果此行为交由给系统处理,是不是会更容易一些?
143
143
144
144
<!--
145
145
That's how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of your scaling requirements, failover, deployment patterns, and more. For example, Kubernetes can easily manage a canary deployment for your system.
146
146
-->
147
-
这就是 Kubernetes 来解决这些问题的方法!
147
+
这就是 Kubernetes 要来做的事情!
148
148
Kubernetes 为你提供了一个可弹性运行分布式系统的框架。
149
149
Kubernetes 会满足你的扩展要求、故障转移、部署模式等。
150
150
例如,Kubernetes 可以轻松管理系统的 Canary 部署。
@@ -160,7 +160,8 @@ Kubernetes can expose a container using the DNS name or using their own IP addre
160
160
-->
161
161
***服务发现和负载均衡**
162
162
163
-
Kubernetes 可以使用 DNS 名称或自己的 IP 地址公开容器,如果进入容器的流量很大,
163
+
Kubernetes 可以使用 DNS 名称或自己的 IP 地址来公开容器。
164
+
如果进入容器的流量很大,
164
165
Kubernetes 可以负载均衡并分配网络流量,从而使部署稳定。
165
166
166
167
<!--
@@ -177,8 +178,9 @@ You can describe the desired state for your deployed containers using Kubernetes
177
178
-->
178
179
***自动部署和回滚**
179
180
180
-
你可以使用 Kubernetes 描述已部署容器的所需状态,它可以以受控的速率将实际状态
181
-
更改为期望状态。例如,你可以自动化 Kubernetes 来为你的部署创建新容器,
181
+
你可以使用 Kubernetes 描述已部署容器的所需状态,
182
+
它可以以受控的速率将实际状态更改为期望状态。
183
+
例如,你可以自动化 Kubernetes 来为你的部署创建新容器,
182
184
删除现有容器并将它们的所有资源用于新容器。
183
185
184
186
<!--
@@ -188,16 +190,16 @@ Kubernetes allows you to specify how much CPU and memory (RAM) each container ne
188
190
***自动完成装箱计算**
189
191
190
192
Kubernetes 允许你指定每个容器所需 CPU 和内存(RAM)。
191
-
当容器指定了资源请求时,Kubernetes 可以做出更好的决策来管理容器的资源。
193
+
当容器指定了资源请求时,Kubernetes 可以做出更好的决策来为容器分配资源。
192
194
193
195
<!--
194
196
* **Self-healing**
195
197
Kubernetes restarts containers that fail, replaces containers, kills containers that don’t respond to your user-defined health check, and doesn’t advertise them to clients until they are ready to serve.
196
198
-->
197
199
***自我修复**
198
200
199
-
Kubernetes 重新启动失败的容器、替换容器、杀死不响应用户定义的
200
-
运行状况检查的容器,并且在准备好服务之前不将其通告给客户端。
201
+
Kubernetes 将重新启动失败的容器、替换容器、杀死不响应用户定义的运行状况检查的容器,
202
+
并且在准备好服务之前不将其通告给客户端。
201
203
202
204
<!--
203
205
* **Secret and configuration management**
@@ -211,7 +213,7 @@ Kubernetes lets you store and manage sensitive information, such as passwords, O
211
213
<!--
212
214
## What Kubernetes is not
213
215
-->
214
-
## Kubernetes 不是什么
216
+
## Kubernetes 不是什么 {#what-kubernetes-is-not}
215
217
216
218
<!--
217
219
Kubernetes is not a traditional, all-inclusive PaaS (Platform as a Service) system. Since Kubernetes operates at the container level rather than at the hardware level, it provides some generally applicable features common to PaaS offerings, such as deployment, scaling, load balancing, logging, and monitoring. However, Kubernetes is not monolithic, and these default solutions are optional and pluggable. Kubernetes provides the building blocks for building developer platforms, but preserves user choice and flexibility where it is important.
0 commit comments