Skip to content

Commit 77b1c28

Browse files
committed
[zh] update zh/docs/concepts page, fix 23920
1 parent 8e4951c commit 77b1c28

File tree

9 files changed

+86
-5
lines changed

9 files changed

+86
-5
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
title: "配置"
3-
weight: 70
3+
weight: 80
4+
description: Kubernetes 为配置 Pods 提供的资源。
45
---
Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,63 @@
11
---
22
title: "容器"
3-
weight: 50
3+
weight: 40
4+
description: 打包应用及其运行依赖环境的技术。
5+
content_type: concept
6+
no_list: true
47
---
8+
9+
<!-- overview -->
10+
<!--
11+
Each container that you run is repeatable; the standardization from having
12+
dependencies included means that you get the same behavior wherever you
13+
run it.
14+
15+
Containers decouple applications from underlying host infrastructure.
16+
This makes deployment easier in different cloud or OS environments.
17+
-->
18+
19+
每个运行的容器都是可重复的;
20+
包含依赖环境在内的标准,意味着无论您在哪里运行它,您都会得到相同的行为。
21+
22+
容器将应用程序从底层的主机设施中解耦。
23+
这使得在不同的云或 OS 环境中部署更加容易。
24+
25+
26+
27+
28+
<!-- body -->
29+
<!--
30+
## Container images
31+
A [container image](/docs/concepts/containers/images/) is a ready-to-run
32+
software package, containing everything needed to run an application:
33+
the code and any runtime it requires, application and system libraries,
34+
and default values for any essential settings.
35+
36+
By design, a container is immutable: you cannot change the code of a
37+
container that is already running. If you have a containerized application
38+
and want to make changes, you need to build a new image that includes
39+
the change, then recreate the container to start from the updated image.
40+
-->
41+
42+
## 容器镜像 {#container-images}
43+
[容器镜像](/zh/docs/concepts/containers/images/)是一个随时可以运行的软件包,
44+
包含运行应用程序所需的一切:代码和它需要的所有运行时、应用程序和系统库,以及一些基本设置的默认值。
45+
46+
根据设计,容器是不可变的:你不能更改已经运行的容器的代码。
47+
如果有一个容器化的应用程序需要修改,则需要构建包含更改的新镜像,然后再基于新构建的镜像重新运行容器。
48+
49+
<!-- ## Container runtimes -->
50+
## 容器运行时 {#container-runtimes}
51+
52+
{{< glossary_definition term_id="container-runtime" length="all" >}}
53+
54+
## {{% heading "whatsnext" %}}
55+
<!--
56+
* Read about [container images](/docs/concepts/containers/images/)
57+
* Read about [Pods](/docs/concepts/workloads/pods/)
58+
-->
59+
60+
* 进一步阅读[容器镜像](/zh/docs/concepts/containers/images/)
61+
* 进一步阅读 [Pods](/zh/docs/concepts/workloads/pods/)
62+
63+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
title: 概述
33
weight: 20
4+
description: 获得 Kubernetes 及其构件的高层次概要。
45
---
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
title: "策略"
3-
weight: 160
3+
weight: 90
4+
description: 可配置的、可应用到一组资源的策略。
45
---
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2-
title: "调度和驱逐(Scheduling and Eviction)"
2+
title: 调度和驱逐 (Scheduling and Eviction)
33
weight: 90
4+
description: 在Kubernetes中,调度 (Scheduling) 指的是确保 Pods 匹配到合适的节点,以便 kubelet 能够运行它们。驱逐 (Eviction) 是在资源匮乏的节点上,主动让一个或多个 Pods 失效的过程。
45
---
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
title: "安全"
33
weight: 81
4+
description: 确保云原生工作负载安全的一组概念。
45
---
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
---
22
title: "服务、负载均衡和联网"
3-
weight: 80
3+
weight: 60
4+
description: Kubernetes 网络背后的概念和资源。
45
---
6+
7+
<!--
8+
Kubernetes networking addresses four concerns:
9+
- Containers within a Pod use networking to communicate via loopback.
10+
- Cluster networking provides communication between different Pods.
11+
- The Service resource lets you expose an application running in Pods to be reachable from outside your cluster.
12+
- You can also use Services to publish services only for consumption inside your cluster.
13+
-->
14+
15+
Kubernetes 网络解决四方面的问题:
16+
- 一个 Pod 中的容器之间通过本地回路(loopback)通信。
17+
- 集群网络在不同 pod 之间提供通信。
18+
- Service 资源允许你对外暴露 Pods 中运行的应用程序,以支持来自于集群外部的访问。
19+
- 可以使用 Services 来发布仅供集群内部使用的服务。
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
title: "存储"
33
weight: 70
4+
description: 为集群中的 Pods 提供长期和临时存储的方法。
45
---
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
title: "工作负载"
33
weight: 50
4+
description: 理解 Pods,Kubernetes 中可部署的最小计算对象,以及辅助它运行它们的高层抽象对象。
45
---

0 commit comments

Comments
 (0)