diff --git a/content/zh-cn/releases/_index.md b/content/zh-cn/releases/_index.md index c461ee85ab..fa7cc83d95 100644 --- a/content/zh-cn/releases/_index.md +++ b/content/zh-cn/releases/_index.md @@ -13,7 +13,6 @@ layout: release-info notoc: true --> - -Kubernetes 项目维护最近三个次要版本({{< skew latestVersion >}}、{{< skew prevMinorVersion >}}、{{< skew oldestMinorVersion >}})的发布分支。 +Kubernetes 项目维护最近三个次要版本({{< skew latestVersion >}}、{{< skew prevMinorVersion >}}、 +{{< skew oldestMinorVersion >}})的发布分支。 Kubernetes 1.19 和更新版本获得[大约 1 年的补丁支持](/zh-cn/releases/patch-releases/#support-period)。 Kubernetes 1.18 及更早版本获得了大约 9 个月的补丁支持周期。 @@ -34,7 +34,6 @@ following [Semantic Versioning](https://semver.org/) terminology. More information in the [version skew policy](/releases/version-skew-policy/) document. --> - Kubernetes 版本表示为 **x.y.z**, 其中 **x** 是主要版本,**y** 是次要版本,**z** 是补丁版本,遵循[语义版本控制](https://semver.org/)术语。 @@ -45,23 +44,23 @@ Kubernetes 版本表示为 **x.y.z**, -## 发行版本历史 {#release-history} +## 发行版本历史 {#release-history} {{< release-data >}} -## 未来的发行版本 {#upcoming-release} +## 未来的发行版本 {#upcoming-release} -查看[时间表](https://github.com/kubernetes/sig-release/tree/master/releases/release-{{< skew nextMinorVersion >}}), -Kubernetes **{{< skew nextMinorVersion >}}** 版本即将发行! +查看即将发布的 Kubernetes **{{< skew nextMinorVersion >}}** +[时间表](https://github.com/kubernetes/sig-release/tree/master/releases/release-{{< skew nextMinorVersion >}})! -## 有用的资源 {#helpful-resources} +## 有用的资源 {#helpful-resources} diff --git a/content/zh-cn/releases/download.md b/content/zh-cn/releases/download.md index 0eb4999b35..90160c354b 100644 --- a/content/zh-cn/releases/download.md +++ b/content/zh-cn/releases/download.md @@ -15,11 +15,45 @@ cluster. Those components are also shipped in container images as part of the official release process. All binaries as well as container images are available for multiple operating systems as well as hardware architectures. --> -Kubernetes 为每个组件提供二进制文件以及一组标准的客户端应用程序用来引导集群或与集群交互。 +Kubernetes 为每个组件提供二进制文件以及一组标准的客户端应用来引导集群或与集群交互。 像 API 服务器这样的组件能够在集群内的容器镜像中运行。 -作为官方发布过程的一部分,这些组件也以容器镜像的形式提供。 +这些组件作为官方发布过程的一部分,也以容器镜像的形式提供。 所有二进制文件和容器镜像都可用于多种操作系统和硬件架构。 +### kubectl + + + + +Kubernetes 命令行工具 [kubectl](/zh-cn/docs/reference/kubectl/kubectl/) +允许你对 Kubernetes 集群执行命令。 + +你可以使用 kubectl 部署应用,还可以检查和管理集群资源以及查看日志。 +有关包括 kubectl 完整操作列表在内的更多信息,请参阅 +[`kubectl` 参考文档](/zh-cn/docs/reference/kubectl/)。 + + +kubectl 可安装在各种 Linux 平台、macOS 和 Windows 上。 +在下方找到你首选的操作系统。 + +- [在 Linux 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-linux) +- [在 macOS 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-macos) +- [在 Windows 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-windows) + -所有容器镜像都支持多架构,容器运行时应根据下层平台选择正确的镜像。 +所有容器镜像都支持多架构,而容器运行时应根据下层平台选择正确的镜像。 也可以通过给容器镜像名称加后缀来拉取适合特定架构的镜像,例如 `registry.k8s.io/kube-apiserver-arm64:v{{< skew currentPatchVersion >}}`。 所有这些派生镜像都以与多架构清单列表相同的方式签名。 @@ -69,8 +103,8 @@ The Kubernetes project publishes a list of signed Kubernetes container images in [SPDX 2.3](https://spdx.dev/specifications/) format. You can fetch that list using: --> -Kubernetes 项目以 [SPDX 2.3](https://spdx.dev/specifications/) 格式发布已签名的 Kubernetes 容器镜像列表。 -你可以使用以下方法获取该列表: +Kubernetes 项目以 [SPDX 2.3](https://spdx.dev/specifications/) 格式发布已签名的 +Kubernetes 容器镜像列表。你可以使用以下方法获取该列表: ```shell 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 ## 二进制 {#binaries} -在 [CHANGELOG](https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG) 文件中找到下载 Kubernetes 组件(及其校验和)的链接。 - -或者,使用 [downloadkubernetes.com](https://www.downloadkubernetes.com/) 按版本和架构进行过滤。 - -### kubectl - - - - -Kubernetes 命令行工具 [kubectl](/zh-cn/docs/reference/kubectl/kubectl/) 允许你对 Kubernetes 集群执行命令。 - -你可以使用 kubectl 部署应用程序、检查和管理集群资源以及查看日志。 -有关更多信息,包括 kubectl 操作的完整列表,请参阅 -[`kubectl` 参考文档](/zh-cn/docs/reference/kubectl/)。 - - -kubectl 可安装在各种 Linux 平台、macOS 和 Windows 上。 -在下方找到你首选的操作系统。 - -- [在 Linux 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-linux) -- [在 macOS 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-macos) -- [在 Windows 上安装 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-windows) +{{< release-binaries >}} diff --git a/data/i18n/zh-cn/zh-cn.toml b/data/i18n/zh-cn/zh-cn.toml index 50de38b527..ee1190ad22 100644 --- a/data/i18n/zh-cn/zh-cn.toml +++ b/data/i18n/zh-cn/zh-cn.toml @@ -270,6 +270,80 @@ other = "准备开始" [previous_patches] other = "补丁版本:" +# 当 JavaScript 不可用时显示以下文本。 +[release_binary_alternate_links] +other = """你可以在 [CHANGELOG](https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG) +文件中找到下载 Kubernetes 组件(及其校验和)的链接。另外你还可以使用 +[downloadkubernetes.com](https://www.downloadkubernetes.com/) 筛选版本和架构。""" + +[release_binary_arch] +other = "架构" + +[release_binary_arch_option] +other = "架构" + +[release_binary_copy_link] +other = "复制链接" + +[release_binary_copy_link_certifcate] +other = "证书" + +[release_binary_copy_link_checksum] +other = "校验和" + +[release_binary_copy_link_signature] +other = "签名" + +[release_binary_copy_link_tooltip] +other = "复制到剪贴板" + +[release_binary_download] +other = "下载二进制" + +[release_binary_download_tooltip] +other = "下载二进制文件" + +[release_binary_options] +other = "下载选项" + +[release_binary_os] +other = "操作系统" + +[release_binary_os_option] +other = "操作系统" + +[release_binary_os_darwin] +other = "darwin" + +[release_binary_os_linux] +other = "linux" + +[release_binary_os_windows] +other = "windows" + +[release_binary_table_caption] +other = "下载 Kubernetes 组件二进制" + +# 注: 是通过 'release-binaries' 短代码设置的实际版本号的占位符。 +# 请勿翻译或修改 占位符。 +[release_binary_section] +other = """你可以从下表找到下载 Kubernetes 组件(及其校验和)的链接。 +若想下载早期支持的版本,可以查阅各自的文档链接了解[早期版本](https://kubernetes.io/zh-cn/docs/home/supported-doc-versions/#versions-older), +或使用 [downloadkubernetes.com](https://www.downloadkubernetes.com/)。""" + +# 注: 是通过 'release-binaries' 短代码设置的占位符。 +# 请勿翻译或修改 占位符。 +[release_binary_section_note] +other = """要下载 Kubernetes 组件更早的补丁版本(及其校验和),请参阅 +[CHANGELOG](https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG/CHANGELOG-.md) +文件。""" + +[release_binary_version] +other = "版本" + +[release_binary_version_option] +other = "最新版本" + [release_date_after] other = ")"