Skip to content

Commit 6c94400

Browse files
committed
[zh] Add two glossary for reference
1 parent 55318dc commit 6c94400

File tree

2 files changed

+100
-0
lines changed

2 files changed

+100
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: 不可变基础设施
3+
id: immutable-infrastructure
4+
date: 2024-03-25
5+
full_link:
6+
short_description: >
7+
不可变基础设施指的是一旦部署就不能变更的计算机基础设施(虚拟机、容器和网络设施)
8+
9+
aka:
10+
tags:
11+
- architecture
12+
---
13+
14+
<!--
15+
title: Immutable Infrastructure
16+
id: immutable-infrastructure
17+
date: 2024-03-25
18+
full_link:
19+
short_description: >
20+
Immutable Infrastructure refers to computer infrastructure (virtual machines, containers, network appliances) that cannot be changed once deployed
21+
22+
aka:
23+
tags:
24+
- architecture
25+
-->
26+
27+
<!--
28+
Immutable Infrastructure refers to computer infrastructure (virtual machines, containers, network appliances) that cannot be changed once deployed.
29+
-->
30+
不可变基础设施指的是一旦部署就不能变更的计算机基础设施(虚拟机、容器和网络设施)。
31+
32+
<!--more-->
33+
34+
<!--
35+
Immutability can be enforced by an automated process that overwrites unauthorized changes or through a system that won’t allow changes in the first place.
36+
{{< glossary_tooltip text="Containers" term_id="container" >}} are a good example of immutable infrastructure because persistent changes to containers
37+
can only be made by creating a new version of the container or recreating the existing container from its image.
38+
-->
39+
不可变性可以通过某个自动化进程或某种系统来强制执行,前者会覆盖未经授权的变更,而后者从源头上就不允许进行变更。
40+
{{< glossary_tooltip text="容器" term_id="container" >}}是不可变基础设施的一个很好的例子,
41+
这是因为对容器的持久变更只能通过创建新版本的容器或从其镜像重新创建现有容器来进行。
42+
43+
<!--
44+
By preventing or identifying unauthorized changes, immutable infrastructures make it easier to identify and mitigate security risks.
45+
Operating such a system becomes a lot more straightforward because administrators can make assumptions about it.
46+
After all, they know no one made mistakes or changes they forgot to communicate.
47+
Immutable infrastructure goes hand-in-hand with infrastructure as code where all automation needed
48+
to create infrastructure is stored in version control (such as Git).
49+
This combination of immutability and version control means that there is a durable audit log of every authorized change to a system.
50+
-->
51+
通过防止或识别未经授权的变更,不可变基础设施可以更容易地识别和缓解安全风险。
52+
操作此类系统变得更加简单明了,因为管理员可以对其作一些假设。
53+
毕竟,他们可以确认没有人犯错,也没人做了变更而又忘记沟通。
54+
不可变基础设施与基础设施即代码关系紧密,后者将所有创建基础设施所需的自动化都存储在版本控制中(如 Git)。
55+
不可变性和版本控制的结合意味着对系统的每个经过授权的变更都会对应一个持久的审计日志记录。
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: 边车容器
3+
id: sidecar-container
4+
date: 2018-04-12
5+
full_link:
6+
short_description: >
7+
在 Pod 的整个生命期内保持运行的辅助容器。
8+
9+
full_link: /zh-cn/docs/concepts/workloads/pods/sidecar-containers/
10+
tags:
11+
- fundamental
12+
---
13+
14+
<!--
15+
title: Sidecar Container
16+
id: sidecar-container
17+
date: 2018-04-12
18+
full_link:
19+
short_description: >
20+
An auxilliary container that stays running throughout the lifecycle of a Pod.
21+
22+
full_link: /docs/concepts/workloads/pods/sidecar-containers/
23+
tags:
24+
- fundamental
25+
-->
26+
27+
<!--
28+
One or more {{< glossary_tooltip text="containers" term_id="container" >}} that are typically started before any app containers run.
29+
-->
30+
通常在任意应用容器运行之前启动的一个或多个{{< glossary_tooltip text="容器" term_id="container" >}}。
31+
32+
<!--more-->
33+
34+
<!--
35+
Sidecar containers are like regular app containers, but with a different purpose:
36+
the sidecar provides a Pod-local service to the main app container.
37+
Unlike {{< glossary_tooltip text="init containers" term_id="init-container" >}}, sidecar containers
38+
continue running after Pod startup.
39+
40+
Read [Sidecar containers](/docs/concepts/workloads/pods/sidecar-containers/) for more information.
41+
-->
42+
边车容器与常规应用容器类似,但目的不同:边车为主应用容器提供了一个 Pod 内的本地服务。
43+
与{{< glossary_tooltip text="Init 容器" term_id="init-container" >}}不同,边车容器在 Pod 启动后继续运行。
44+
45+
更多细节参阅[边车容器](/zh-cn/docs/concepts/workloads/pods/sidecar-containers/)

0 commit comments

Comments
 (0)