Merge pull request #42087 from asa3311/sync-zh-31

[zh] sync persistent-volumes cron-jobs /tools/_index install-kubectl-linux install-kubectl-macos
pull/42092/head
Kubernetes Prow Robot 2023-07-19 09:12:05 -07:00 committed by GitHub
commit c7b44538f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 9 deletions

View File

@ -165,7 +165,7 @@ check [kube-apiserver](/docs/reference/command-line-tools-reference/kube-apiserv
A user creates, or in the case of dynamic provisioning, has already created, A user creates, or in the case of dynamic provisioning, has already created,
a PersistentVolumeClaim with a specific amount of storage requested and with a PersistentVolumeClaim with a specific amount of storage requested and with
certain access modes. A control loop in the master watches for new PVCs, finds certain access modes. A control loop in the control plane watches for new PVCs, finds
a matching PV (if possible), and binds them together. If a PV was dynamically a matching PV (if possible), and binds them together. If a PV was dynamically
provisioned for a new PVC, the loop will always bind that PV to the PVC. Otherwise, provisioned for a new PVC, the loop will always bind that PV to the PVC. Otherwise,
the user will always get at least what they asked for, but the volume may be in the user will always get at least what they asked for, but the volume may be in
@ -178,7 +178,7 @@ and the PersistentVolumeClaim.
用户创建一个带有特定存储容量和特定访问模式需求的 PersistentVolumeClaim 对象; 用户创建一个带有特定存储容量和特定访问模式需求的 PersistentVolumeClaim 对象;
在动态制备场景下,这个 PVC 对象可能已经创建完毕。 在动态制备场景下,这个 PVC 对象可能已经创建完毕。
主控节点中的控制回路监测新的 PVC 对象,寻找与之匹配的 PV 卷(如果可能的话), 控制平面中的控制回路监测新的 PVC 对象,寻找与之匹配的 PV 卷(如果可能的话),
并将二者绑定到一起。 并将二者绑定到一起。
如果为了新的 PVC 申领动态制备了 PV 卷,则控制回路总是将该 PV 卷绑定到这一 PVC 申领。 如果为了新的 PVC 申领动态制备了 PV 卷,则控制回路总是将该 PV 卷绑定到这一 PVC 申领。
否则,用户总是能够获得他们所请求的资源,只是所获得的 PV 卷可能会超出所请求的配置。 否则,用户总是能够获得他们所请求的资源,只是所获得的 PV 卷可能会超出所请求的配置。

View File

@ -1,7 +1,10 @@
--- ---
title: CronJob title: CronJob
content_type: concept content_type: concept
description: >-
CronJob 通过重复调度启动一次性的 Job。
weight: 80 weight: 80
hide_summary: true # 在章节索引中单独列出
--- ---
<!-- <!--
reviewers: reviewers:
@ -10,7 +13,10 @@ reviewers:
- janetkuo - janetkuo
title: CronJob title: CronJob
content_type: concept content_type: concept
description: >-
A CronJob starts one-time Jobs on a repeating schedule.
weight: 80 weight: 80
hide_summary: true # Listed separately in section index
--> -->
<!-- overview --> <!-- overview -->

View File

@ -48,8 +48,8 @@ kubectl 可安装在各种 Linux 平台、 macOS 和 Windows 上。
<!-- <!--
[`kind`](https://kind.sigs.k8s.io/) lets you run Kubernetes on [`kind`](https://kind.sigs.k8s.io/) lets you run Kubernetes on
your local computer. This tool requires that you have your local computer. This tool requires that you have either
[Docker](https://docs.docker.com/get-docker/) installed and configured. [Docker](https://www.docker.com/) or [Podman](https://podman.io/) installed.
The kind [Quick Start](https://kind.sigs.k8s.io/docs/user/quick-start/) page The kind [Quick Start](https://kind.sigs.k8s.io/docs/user/quick-start/) page
shows you what you need to do to get up and running with kind. shows you what you need to do to get up and running with kind.
@ -57,7 +57,7 @@ shows you what you need to do to get up and running with kind.
<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> <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>
--> -->
[`kind`](https://kind.sigs.k8s.io/) 让你能够在本地计算机上运行 Kubernetes。 [`kind`](https://kind.sigs.k8s.io/) 让你能够在本地计算机上运行 Kubernetes。
`kind` 要求你安装并配置好 [Docker](https://docs.docker.com/get-docker/)。 使用这个工具需要你安装 [Docker](https://www.docker.com/) 或者 [Podman](https://podman.io/)。
kind 的 [Quick Start](https://kind.sigs.k8s.io/docs/user/quick-start/) 页面展示开始使用 kind 的 [Quick Start](https://kind.sigs.k8s.io/docs/user/quick-start/) 页面展示开始使用
`kind` 所需要完成的操作。 `kind` 所需要完成的操作。

View File

@ -138,7 +138,7 @@ The following methods exist for installing kubectl on Linux:
--> -->
验证失败时,`sha256` 将以非零值退出,并打印如下输出: 验证失败时,`sha256` 将以非零值退出,并打印如下输出:
```bash ```console
kubectl: FAILED kubectl: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match sha256sum: WARNING: 1 computed checksum did NOT match
``` ```
@ -431,7 +431,7 @@ kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以
--> -->
验证失败时,`sha256` 将以非零值退出,并打印输出类似于: 验证失败时,`sha256` 将以非零值退出,并打印输出类似于:
```bash ```console
kubectl-convert: FAILED kubectl-convert: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match sha256sum: WARNING: 1 computed checksum did NOT match
``` ```

View File

@ -146,7 +146,7 @@ The following methods exist for installing kubectl on macOS:
--> -->
验证失败时,`shasum` 将以非零值退出,并打印如下输出: 验证失败时,`shasum` 将以非零值退出,并打印如下输出:
``` ```console
kubectl: FAILED kubectl: FAILED
shasum: WARNING: 1 computed checksum did NOT match shasum: WARNING: 1 computed checksum did NOT match
``` ```
@ -388,7 +388,7 @@ kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以
--> -->
验证失败时,`sha256` 将以非零值退出,并打印输出类似于: 验证失败时,`sha256` 将以非零值退出,并打印输出类似于:
```bash ```console
kubectl-convert: FAILED kubectl-convert: FAILED
shasum: WARNING: 1 computed checksum did NOT match shasum: WARNING: 1 computed checksum did NOT match
``` ```