Skip to content

Commit e05fbf7

Browse files
committed
sync zh
Update cron-jobs.md
1 parent 52132d2 commit e05fbf7

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

content/zh-cn/docs/concepts/storage/persistent-volumes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ check [kube-apiserver](/docs/reference/command-line-tools-reference/kube-apiserv
165165
166166
A user creates, or in the case of dynamic provisioning, has already created,
167167
a PersistentVolumeClaim with a specific amount of storage requested and with
168-
certain access modes. A control loop in the master watches for new PVCs, finds
168+
certain access modes. A control loop in the control plane watches for new PVCs, finds
169169
a matching PV (if possible), and binds them together. If a PV was dynamically
170170
provisioned for a new PVC, the loop will always bind that PV to the PVC. Otherwise,
171171
the user will always get at least what they asked for, but the volume may be in
@@ -178,7 +178,7 @@ and the PersistentVolumeClaim.
178178

179179
用户创建一个带有特定存储容量和特定访问模式需求的 PersistentVolumeClaim 对象;
180180
在动态制备场景下,这个 PVC 对象可能已经创建完毕。
181-
主控节点中的控制回路监测新的 PVC 对象,寻找与之匹配的 PV 卷(如果可能的话),
181+
控制平面中的控制回路监测新的 PVC 对象,寻找与之匹配的 PV 卷(如果可能的话),
182182
并将二者绑定到一起。
183183
如果为了新的 PVC 申领动态制备了 PV 卷,则控制回路总是将该 PV 卷绑定到这一 PVC 申领。
184184
否则,用户总是能够获得他们所请求的资源,只是所获得的 PV 卷可能会超出所请求的配置。

content/zh-cn/docs/concepts/workloads/controllers/cron-jobs.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
title: CronJob
33
content_type: concept
4+
description: >-
5+
CronJob 通过重复调度启动一次性的任务。
46
weight: 80
7+
hide_summary: true # 在章节索引中单独列出
58
---
69
<!--
710
reviewers:
@@ -10,7 +13,10 @@ reviewers:
1013
- janetkuo
1114
title: CronJob
1215
content_type: concept
16+
description: >-
17+
A CronJob starts one-time Jobs on a repeating schedule.
1318
weight: 80
19+
hide_summary: true # Listed separately in section index
1420
-->
1521

1622
<!-- overview -->

content/zh-cn/docs/tasks/tools/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ kubectl 可安装在各种 Linux 平台、 macOS 和 Windows 上。
4848

4949
<!--
5050
[`kind`](https://kind.sigs.k8s.io/) lets you run Kubernetes on
51-
your local computer. This tool requires that you have
52-
[Docker](https://docs.docker.com/get-docker/) installed and configured.
51+
your local computer. This tool requires that you have either
52+
[Docker](https://www.docker.com/) or [Podman](https://podman.io/) installed.
5353
5454
The kind [Quick Start](https://kind.sigs.k8s.io/docs/user/quick-start/) page
5555
shows you what you need to do to get up and running with kind.
5656
5757
<a class="btn btn-primary" href="https://kind.sigs.k8s.io/docs/user/quick-start/" role="button" aria-label="View kind Quick Start Guide">View kind Quick Start Guide</a>
5858
-->
5959
[`kind`](https://kind.sigs.k8s.io/) 让你能够在本地计算机上运行 Kubernetes。
60-
`kind` 要求你安装并配置好 [Docker](https://docs.docker.com/get-docker/)
60+
使用这个工具需要你安装 [Docker](https://www.docker.com/) 或者 [Podman](https://podman.io/)
6161

6262
kind 的 [Quick Start](https://kind.sigs.k8s.io/docs/user/quick-start/) 页面展示开始使用
6363
`kind` 所需要完成的操作。

content/zh-cn/docs/tasks/tools/install-kubectl-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ The following methods exist for installing kubectl on Linux:
138138
-->
139139
验证失败时,`sha256` 将以非零值退出,并打印如下输出:
140140

141-
```bash
141+
```console
142142
kubectl: FAILED
143143
sha256sum: WARNING: 1 computed checksum did NOT match
144144
```
@@ -431,7 +431,7 @@ kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以
431431
-->
432432
验证失败时,`sha256` 将以非零值退出,并打印输出类似于:
433433

434-
```bash
434+
```console
435435
kubectl-convert: FAILED
436436
sha256sum: WARNING: 1 computed checksum did NOT match
437437
```

content/zh-cn/docs/tasks/tools/install-kubectl-macos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ The following methods exist for installing kubectl on macOS:
146146
-->
147147
验证失败时,`shasum` 将以非零值退出,并打印如下输出:
148148

149-
```
149+
```console
150150
kubectl: FAILED
151151
shasum: WARNING: 1 computed checksum did NOT match
152152
```
@@ -388,7 +388,7 @@ kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以
388388
-->
389389
验证失败时,`sha256` 将以非零值退出,并打印输出类似于:
390390

391-
```bash
391+
```console
392392
kubectl-convert: FAILED
393393
shasum: WARNING: 1 computed checksum did NOT match
394394
```

0 commit comments

Comments
 (0)