Skip to content

Commit 8e34372

Browse files
committed
[zh] fix links in setup section (4)
1 parent 4b6fc16 commit 8e34372

File tree

6 files changed

+129
-146
lines changed

6 files changed

+129
-146
lines changed

content/zh/docs/setup/_index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ If you're learning Kubernetes, use the Docker-based solutions: tools supported b
8282

8383
|社区 |生态系统 |
8484
| ------------ | -------- |
85-
| [Minikube](/docs/setup/learning-environment/minikube/) | [Docker Desktop](https://www.docker.com/products/docker-desktop)|
86-
| [kind (Kubernetes IN Docker)](/docs/setup/learning-environment/kind/) | [Minishift](https://docs.okd.io/latest/minishift/)|
85+
| [Minikube](/zh/docs/setup/learning-environment/minikube/) | [Docker Desktop](https://www.docker.com/products/docker-desktop)|
86+
| [kind (Kubernetes IN Docker)](/zh/docs/setup/learning-environment/kind/) | [Minishift](https://docs.okd.io/latest/minishift/)|
8787
| | [MicroK8s](https://microk8s.io/)|
8888

8989

@@ -100,4 +100,5 @@ When evaluating a solution for a production environment, consider which aspects
100100
<!--
101101
[Kubernetes Partners](https://kubernetes.io/partners/#conformance) includes a list of [Certified Kubernetes](https://github.com/cncf/k8s-conformance/#certified-kubernetes) providers.
102102
-->
103-
[Kubernetes 合作伙伴](https://kubernetes.io/zh/partners/#kcsp) 包括一个 [已认证的 Kubernetes](https://github.com/cncf/k8s-conformance/#certified-kubernetes) 提供商列表。
103+
[Kubernetes 合作伙伴](https://kubernetes.io/zh/partners/#kcsp) 包括一个
104+
[已认证的 Kubernetes](https://github.com/cncf/k8s-conformance/#certified-kubernetes) 提供商列表。

content/zh/docs/setup/production-environment/container-runtimes.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,26 @@ content_type: concept
77
weight: 10
88
---
99
<!--
10-
---
1110
reviewers:
1211
- vincepri
1312
- bart0sh
1413
title: Container runtimes
1514
content_type: concept
1615
weight: 10
17-
---
1816
-->
17+
1918
<!-- overview -->
2019
{{< feature-state for_k8s_version="v1.6" state="stable" >}}
20+
2121
<!--
2222
To run containers in Pods, Kubernetes uses a container runtime. Here are
2323
the installation instructions for various runtimes.
2424
-->
2525
Kubernetes 使用容器运行时来实现在 pod 中运行容器。
2626
这是各种运行时的安装说明。
2727

28-
29-
3028
<!-- body -->
3129

32-
{{< caution >}}
3330
<!--
3431
A flaw was found in the way runc handled system file descriptors when running containers.
3532
A malicious container could use this flaw to overwrite contents of the runc binary and
@@ -38,6 +35,7 @@ consequently run arbitrary commands on the container host system.
3835
Please refer to [CVE-2019-5736](https://access.redhat.com/security/cve/cve-2019-5736) for more
3936
information about the issue.
4037
-->
38+
{{< caution >}}
4139
我们发现 runc 在运行容器,处理系统文件描述符时存在一个漏洞。
4240
恶意容器可以利用此漏洞覆盖 runc 二进制文件的内容,并以此在主机系统的容器上运行任意的命令。
4341

@@ -49,20 +47,20 @@ information about the issue.
4947
-->
5048
### 适用性
5149

52-
{{< note >}}
5350
<!--
5451
This document is written for users installing CRI onto Linux. For other operating
5552
systems, look for documentation specific to your platform
5653
-->
54+
{{< note >}}
5755
本文档是为在 Linux 上安装 CRI 的用户编写的。
58-
对于其他操作系统,请查找特定于您平台的文档
56+
对于其他操作系统,请查找特定于你平台的文档
5957
{{< /note >}}
6058

6159
<!--
6260
You should execute all the commands in this guide as `root`. For example, prefix commands
6361
with `sudo `, or become `root` and run the commands as that user.
6462
-->
65-
您应该以 `root` 身份执行本指南中的所有命令。
63+
你应该以 `root` 身份执行本指南中的所有命令。
6664
例如,使用 `sudo` 前缀命令,或者成为 `root` 并以该用户身份运行命令。
6765

6866
<!--
@@ -79,7 +77,7 @@ that there will then be two different cgroup managers.
7977
-->
8078
当某个 Linux 系统发行版使用 systemd 作为其初始化系统时,初始化进程会生成并使用一个 root 控制组 (`cgroup`),并充当 cgroup 管理器。
8179
systemd 与 cgroup 集成紧密,并将为每个进程分配 cgroup。
82-
您也可以配置容器运行时和 kubelet 使用 `cgroupfs`
80+
你也可以配置容器运行时和 kubelet 使用 `cgroupfs`
8381
连同 systemd 一起使用 `cgroupfs` 意味着将有两个不同的 cgroup 管理器。
8482

8583
<!--
@@ -127,11 +125,11 @@ Use the following commands to install Docker on your system:
127125
-->
128126
## Docker
129127

130-
在您的每台机器上安装 Docker。
128+
在你的每台机器上安装 Docker。
131129
推荐安装 19.03.11 版本,但是 1.13.1、17.03、17.06、17.09、18.06 和 18.09 版本也是可以的。
132130
请跟踪 Kubernetes 发行说明中经过验证的 Docker 最新版本变化。
133131

134-
使用以下命令在您的系统上安装 Docker:
132+
使用以下命令在你的系统上安装 Docker:
135133

136134
{{< tabs name="tab-cri-docker-installation" >}}
137135
{{% tab name="Ubuntu 16.04+" %}}
@@ -866,8 +864,9 @@ Refer to the [Frakti QuickStart guide](https://github.com/kubernetes/frakti#quic
866864
systemd_cgroup = true
867865
```
868866
当使用 kubeadm 时,请手动配置
869-
[kubelet 的 cgroup 驱动](/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#configure-cgroup-driver-used-by-kubelet-on-master-node)
867+
[kubelet 的 cgroup 驱动](/zh/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#configure-cgroup-driver-used-by-kubelet-on-master-node)
870868

871869
## 其他的 CRI 运行时:frakti
872870

873871
请参阅 [Frakti 快速开始指南](https://github.com/kubernetes/frakti#quickstart) 来获取更多的信息。
872+

0 commit comments

Comments
 (0)