Skip to content

Commit 6e2079f

Browse files
committed
[zh] Sync /releases/download.md
1 parent 8c65e8f commit 6e2079f

File tree

3 files changed

+121
-54
lines changed

3 files changed

+121
-54
lines changed

content/zh-cn/releases/_index.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ layout: release-info
1313
notoc: true
1414
-->
1515

16-
1716
<!-- overview -->
1817

1918
<!--
@@ -23,7 +22,8 @@ Kubernetes 1.19 and newer receive
2322
[approximately 1 year of patch support](/releases/patch-releases/#support-period).
2423
Kubernetes 1.18 and older received approximately 9 months of patch support.
2524
-->
26-
Kubernetes 项目维护最近三个次要版本({{< skew latestVersion >}}、{{< skew prevMinorVersion >}}、{{< skew oldestMinorVersion >}})的发布分支。
25+
Kubernetes 项目维护最近三个次要版本({{< skew latestVersion >}}、{{< skew prevMinorVersion >}}、
26+
{{< skew oldestMinorVersion >}})的发布分支。
2727
Kubernetes 1.19 和更新版本获得[大约 1 年的补丁支持](/zh-cn/releases/patch-releases/#support-period)
2828
Kubernetes 1.18 及更早版本获得了大约 9 个月的补丁支持周期。
2929

@@ -34,7 +34,6 @@ following [Semantic Versioning](https://semver.org/) terminology.
3434
3535
More information in the [version skew policy](/releases/version-skew-policy/) document.
3636
-->
37-
3837
Kubernetes 版本表示为 **x.y.z**
3938
其中 **x** 是主要版本,**y** 是次要版本,**z** 是补丁版本,遵循[语义版本控制](https://semver.org/)术语。
4039

@@ -45,23 +44,23 @@ Kubernetes 版本表示为 **x.y.z**,
4544
<!--
4645
## Release History
4746
-->
48-
## 发行版本历史 {#release-history}
47+
## 发行版本历史 {#release-history}
4948

5049
{{< release-data >}}
5150

5251
<!--
5352
## Upcoming Release
5453
-->
55-
## 未来的发行版本 {#upcoming-release}
54+
## 未来的发行版本 {#upcoming-release}
5655

5756
<!--
5857
Check out the [schedule](https://github.com/kubernetes/sig-release/tree/master/releases/release-{{< skew nextMinorVersion >}})
5958
for the upcoming **{{< skew nextMinorVersion >}}** Kubernetes release!
6059
-->
61-
查看[时间表](https://github.com/kubernetes/sig-release/tree/master/releases/release-{{< skew nextMinorVersion >}}),
62-
Kubernetes **{{< skew nextMinorVersion >}}** 版本即将发行
60+
查看即将发布的 Kubernetes **{{< skew nextMinorVersion >}}**
61+
[时间表](https://github.com/kubernetes/sig-release/tree/master/releases/release-{{< skew nextMinorVersion >}})
6362

6463
<!--
6564
## Helpful Resources
6665
-->
67-
## 有用的资源 {#helpful-resources}
66+
## 有用的资源 {#helpful-resources}

content/zh-cn/releases/download.md

Lines changed: 40 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,45 @@ cluster. Those components are also shipped in container images as part of the
1515
official release process. All binaries as well as container images are available
1616
for multiple operating systems as well as hardware architectures.
1717
-->
18-
Kubernetes 为每个组件提供二进制文件以及一组标准的客户端应用程序用来引导集群或与集群交互
18+
Kubernetes 为每个组件提供二进制文件以及一组标准的客户端应用来引导集群或与集群交互
1919
像 API 服务器这样的组件能够在集群内的容器镜像中运行。
20-
作为官方发布过程的一部分,这些组件也以容器镜像的形式提供
20+
这些组件作为官方发布过程的一部分,也以容器镜像的形式提供
2121
所有二进制文件和容器镜像都可用于多种操作系统和硬件架构。
2222

23+
### kubectl
24+
25+
<!-- overview -->
26+
27+
<!--
28+
The Kubernetes command-line tool, [kubectl](/docs/reference/kubectl/kubectl/), allows
29+
you to run commands against Kubernetes clusters.
30+
31+
You can use kubectl to deploy applications, inspect and manage cluster resources,
32+
and view logs. For more information including a complete list of kubectl operations, see the
33+
[`kubectl` reference documentation](/docs/reference/kubectl/).
34+
-->
35+
Kubernetes 命令行工具 [kubectl](/zh-cn/docs/reference/kubectl/kubectl/)
36+
允许你对 Kubernetes 集群执行命令。
37+
38+
你可以使用 kubectl 部署应用,还可以检查和管理集群资源以及查看日志。
39+
有关包括 kubectl 完整操作列表在内的更多信息,请参阅
40+
[`kubectl` 参考文档](/zh-cn/docs/reference/kubectl/)
41+
42+
<!--
43+
kubectl is installable on a variety of Linux platforms, macOS and Windows.
44+
Find your preferred operating system below.
45+
46+
- [Install kubectl on Linux](/docs/tasks/tools/install-kubectl-linux)
47+
- [Install kubectl on macOS](/docs/tasks/tools/install-kubectl-macos)
48+
- [Install kubectl on Windows](/docs/tasks/tools/install-kubectl-windows)
49+
-->
50+
kubectl 可安装在各种 Linux 平台、macOS 和 Windows 上。
51+
在下方找到你首选的操作系统。
52+
53+
- [在 Linux 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-linux)
54+
- [在 macOS 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-macos)
55+
- [在 Windows 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-windows)
56+
2357
<!--
2458
## Container Images
2559
@@ -59,7 +93,7 @@ container image name, for example
5993
`registry.k8s.io/kube-apiserver-arm64:v{{< skew currentPatchVersion >}}`. All
6094
those derivations are signed in the same way as the multi-architecture manifest lists.
6195
-->
62-
所有容器镜像都支持多架构,容器运行时应根据下层平台选择正确的镜像
96+
所有容器镜像都支持多架构,而容器运行时应根据下层平台选择正确的镜像
6397
也可以通过给容器镜像名称加后缀来拉取适合特定架构的镜像,例如
6498
`registry.k8s.io/kube-apiserver-arm64:v{{< skew currentPatchVersion >}}`
6599
所有这些派生镜像都以与多架构清单列表相同的方式签名。
@@ -69,8 +103,8 @@ The Kubernetes project publishes a list of signed Kubernetes container images
69103
in [SPDX 2.3](https://spdx.dev/specifications/) format.
70104
You can fetch that list using:
71105
-->
72-
Kubernetes 项目以 [SPDX 2.3](https://spdx.dev/specifications/) 格式发布已签名的 Kubernetes 容器镜像列表。
73-
你可以使用以下方法获取该列表:
106+
Kubernetes 项目以 [SPDX 2.3](https://spdx.dev/specifications/) 格式发布已签名的
107+
Kubernetes 容器镜像列表。你可以使用以下方法获取该列表:
74108

75109
```shell
76110
curl -Ls "https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/stable.txt)/release" | grep "SPDXID: SPDXRef-Package-registry.k8s.io" | grep -v sha256 | cut -d- -f3- | sed 's/-/\//' | sed 's/-v1/:v1/'
@@ -91,47 +125,7 @@ To manually verify signed container images of Kubernetes core components, refer
91125

92126
<!--
93127
## Binaries
94-
95-
Find links to download Kubernetes components (and their checksums) in the
96-
[CHANGELOG](https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG) files.
97-
98-
Alternately, use [downloadkubernetes.com](https://www.downloadkubernetes.com/) to filter by version and architecture.
99128
-->
100129
## 二进制 {#binaries}
101130

102-
[CHANGELOG](https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG) 文件中找到下载 Kubernetes 组件(及其校验和)的链接。
103-
104-
或者,使用 [downloadkubernetes.com](https://www.downloadkubernetes.com/) 按版本和架构进行过滤。
105-
106-
### kubectl
107-
108-
<!-- overview -->
109-
110-
<!--
111-
The Kubernetes command-line tool, [kubectl](/docs/reference/kubectl/kubectl/), allows
112-
you to run commands against Kubernetes clusters.
113-
114-
You can use kubectl to deploy applications, inspect and manage cluster resources,
115-
and view logs. For more information including a complete list of kubectl operations, see the
116-
[`kubectl` reference documentation](/docs/reference/kubectl/).
117-
-->
118-
Kubernetes 命令行工具 [kubectl](/zh-cn/docs/reference/kubectl/kubectl/) 允许你对 Kubernetes 集群执行命令。
119-
120-
你可以使用 kubectl 部署应用程序、检查和管理集群资源以及查看日志。
121-
有关更多信息,包括 kubectl 操作的完整列表,请参阅
122-
[`kubectl` 参考文档](/zh-cn/docs/reference/kubectl/)
123-
124-
<!--
125-
kubectl is installable on a variety of Linux platforms, macOS and Windows.
126-
Find your preferred operating system below.
127-
128-
- [Install kubectl on Linux](/docs/tasks/tools/install-kubectl-linux)
129-
- [Install kubectl on macOS](/docs/tasks/tools/install-kubectl-macos)
130-
- [Install kubectl on Windows](/docs/tasks/tools/install-kubectl-windows)
131-
-->
132-
kubectl 可安装在各种 Linux 平台、macOS 和 Windows 上。
133-
在下方找到你首选的操作系统。
134-
135-
- [在 Linux 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-linux)
136-
- [在 macOS 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-macos)
137-
- [在 Windows 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-windows)
131+
{{< release-binaries >}}

data/i18n/zh-cn/zh-cn.toml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,80 @@ other = "准备开始"
270270
[previous_patches]
271271
other = "补丁版本:"
272272

273+
# 当 JavaScript 不可用时显示以下文本。
274+
[release_binary_alternate_links]
275+
other = """你可以在 [CHANGELOG](https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG)
276+
文件中找到下载 Kubernetes 组件(及其校验和)的链接。另外你还可以使用
277+
[downloadkubernetes.com](https://www.downloadkubernetes.com/) 筛选版本和架构。"""
278+
279+
[release_binary_arch]
280+
other = "架构"
281+
282+
[release_binary_arch_option]
283+
other = "架构"
284+
285+
[release_binary_copy_link]
286+
other = "复制链接"
287+
288+
[release_binary_copy_link_certifcate]
289+
other = "证书"
290+
291+
[release_binary_copy_link_checksum]
292+
other = "校验和"
293+
294+
[release_binary_copy_link_signature]
295+
other = "签名"
296+
297+
[release_binary_copy_link_tooltip]
298+
other = "复制到剪贴板"
299+
300+
[release_binary_download]
301+
other = "下载二进制"
302+
303+
[release_binary_download_tooltip]
304+
other = "下载二进制文件"
305+
306+
[release_binary_options]
307+
other = "下载选项"
308+
309+
[release_binary_os]
310+
other = "操作系统"
311+
312+
[release_binary_os_option]
313+
other = "操作系统"
314+
315+
[release_binary_os_darwin]
316+
other = "darwin"
317+
318+
[release_binary_os_linux]
319+
other = "linux"
320+
321+
[release_binary_os_windows]
322+
other = "windows"
323+
324+
[release_binary_table_caption]
325+
other = "下载 Kubernetes 组件二进制"
326+
327+
# 注:<current-version> 是通过 'release-binaries' 短代码设置的实际版本号的占位符。
328+
# 请勿翻译或修改 <current-version> 占位符。
329+
[release_binary_section]
330+
other = """你可以从下表找到下载 <current-version> Kubernetes 组件(及其校验和)的链接。
331+
若想下载早期支持的版本,可以查阅各自的文档链接了解[早期版本](https://kubernetes.io/zh-cn/docs/home/supported-doc-versions/#versions-older),
332+
或使用 [downloadkubernetes.com](https://www.downloadkubernetes.com/)。"""
333+
334+
# 注:<current-version> 和 <current-changelog-url> 是通过 'release-binaries' 短代码设置的占位符。
335+
# 请勿翻译或修改 <current-version> 和 <current-changelog-url> 占位符。
336+
[release_binary_section_note]
337+
other = """要下载 <current-version> Kubernetes 组件更早的补丁版本(及其校验和),请参阅
338+
[CHANGELOG](https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG/CHANGELOG-<current-changelog-url>.md)
339+
文件。"""
340+
341+
[release_binary_version]
342+
other = "版本"
343+
344+
[release_binary_version_option]
345+
other = "最新版本"
346+
273347
[release_date_after]
274348
other = ""
275349

0 commit comments

Comments
 (0)