You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@yunikorn.apache.org by yu...@apache.org on 2022/05/29 23:54:02 UTC

[yunikorn-site] branch master updated: [YUNIKORN-1223] Add Chinese translation for 1.0.0 Release (#159)

This is an automated email from the ASF dual-hosted git repository.

yuchaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-site.git


The following commit(s) were added to refs/heads/master by this push:
     new cdc8912b3 [YUNIKORN-1223] Add Chinese translation for 1.0.0 Release (#159)
cdc8912b3 is described below

commit cdc8912b38a90cf0708cfe20dddbccb854fbc606
Author: Thinking Chen <cd...@hotmail.com>
AuthorDate: Mon May 30 07:53:57 2022 +0800

    [YUNIKORN-1223] Add Chinese translation for 1.0.0 Release (#159)
---
 .../community/download.md                          |  55 ++++++---
 .../community/roadmap.md                           |  28 ++---
 .../release-announce/1.0.0.md                      | 135 +++++++++++++++++++++
 3 files changed, 179 insertions(+), 39 deletions(-)

diff --git a/i18n/zh-cn/docusaurus-plugin-content-pages/community/download.md b/i18n/zh-cn/docusaurus-plugin-content-pages/community/download.md
index b9eac926c..5cfdb861b 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-pages/community/download.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-pages/community/download.md
@@ -1,6 +1,6 @@
 ---
 id: download
-title: Apache YuniKorn
+title: Apache YuniKorn (Incubating)
 ---
 
 <!--
@@ -24,29 +24,28 @@ under the License.
 
 # Apache YuniKorn
 
-Apache YuniKorn 作为源代码压缩包发布。
+Apache YuniKorn 作为源代码压缩包已经发布。
 最新版本的下载通过镜像站点进行分发。
 旧版本可以从 Apache 存档站点进行下载。
-应使用 GPG 或 SHA-512 检查所有发布工件是否被篡改。
+我们可以使用 GPG 或 SHA-512 检查所有发布文件是否被篡改。
 
-Apache YuniKorn 的最新版本是 v0.12.2。
+Apache YuniKorn 的最新版本是 v1.0.0。
 
-| 版本      | 发布日期       | 源代码下载                                                                                                                                                                                                                                                                                                                                                                                      | Docker 镜像                                                                              [...]
-|---------|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------- [...]
-| v0.12.2 | 2022-02-03 | [下载](https://www.apache.org/dyn/closer.lua/incubator/yunikorn/0.12.2/apache-yunikorn-0.12.2-incubating-src.tar.gz) <br />[Checksum](https://downloads.apache.org/incubator/yunikorn/0.12.2/apache-yunikorn-0.12.2-incubating-src.tar.gz.sha512) & [签名](https://downloads.apache.org/incubator/yunikorn/0.12.2/apache-yunikorn-0.12.2-incubating-src.tar.gz.asc)                            | [scheduler](https://hub.docker.com/layers/apache/yunikorn/scheduler-0.12.2/images/sha2 [...]
-| v0.12.1 | 2021-12-26 | [下载](https://archive.apache.org/dist/incubator/yunikorn/0.12.1/apache-yunikorn-0.12.1-incubating-src.tar.gz) <br />[Checksum](https://archive.apache.org/dist/incubator/yunikorn/0.12.1/apache-yunikorn-0.12.1-incubating-src.tar.gz.sha512) & [签名](https://downloads.apache.org/incubator/yunikorn/0.12.1/apache-yunikorn-0.12.1-incubating-src.tar.gz.asc)                            | [scheduler](https://hub.docker.com/layers/apache/yunikorn/scheduler-0.12.1/images/sha256- [...]
-| v0.11.0 | 2021-08-18 | [下载](https://archive.apache.org/dist/incubator/yunikorn/0.11.0/apache-yunikorn-0.11.0-incubating-src.tar.gz) <br />[Checksum](https://archive.apache.org/dist/incubator/yunikorn/0.11.0/apache-yunikorn-0.11.0-incubating-src.tar.gz.sha512) & [签名](https://archive.apache.org/dist/incubator/yunikorn/0.11.0/apache-yunikorn-0.11.0-incubating-src.tar.gz.asc)                            | [scheduler](https://hub.docker.com/layers/apache/yunikorn/scheduler-0.11.0/images/sha2 [...]
-| v0.10.0 | 2021-04-09 | [下载](https://archive.apache.org/dist/incubator/yunikorn/0.10.0/apache-yunikorn-0.10.0-incubating-src.tar.gz) <br />[Checksum](https://archive.apache.org/dist/incubator/yunikorn/0.10.0/apache-yunikorn-0.10.0-incubating-src.tar.gz.sha512) & [签名](https://archive.apache.org/dist/incubator/yunikorn/0.10.0/apache-yunikorn-0.10.0-incubating-src.tar.gz.asc)                            | [scheduler](https://hub.docker.com/layers/apache/yunikorn/scheduler-0.10.0/images/sha2 [...]
+| 版本     | 发布日期      | 源代码下载                                                                                                                                                                                                                                                                                                                                                                                      | Docker 镜像                                                                                [...]
+|---------|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------- [...]
+| v1.0.0  | 2022-05-06   | [下载](https://www.apache.org/dyn/closer.lua/yunikorn/1.0.0/apache-yunikorn-1.0.0-src.tar.gz) <br />[Checksum](https://downloads.apache.org/yunikorn/1.0.0/apache-yunikorn-1.0.0-src.tar.gz.sha512) & [签名](https://downloads.apache.org/yunikorn/1.0.0/apache-yunikorn-1.0.0-src.tar.gz.asc)                                                                      | [scheduler](https://hub.docker.com/layers/apache/yunikorn/scheduler-1.0.0/images/sha256-a38ef737337798a6597c566 [...]
+| v0.12.2 | 2022-02-03   | [下载](https://archive.apache.org/dist/incubator/yunikorn/0.12.2/apache-yunikorn-0.12.2-incubating-src.tar.gz) <br />[Checksum](https://archive.apache.org/dist/incubator/yunikorn/0.12.2/apache-yunikorn-0.12.2-incubating-src.tar.gz.sha512) & [签名](https://archive.apache.org/dist/incubator/yunikorn/0.12.2/apache-yunikorn-0.12.2-incubating-src.tar.gz.asc) | [scheduler](https://hub.docker.com/layers/apache/yunikorn/scheduler-0.12.2/images/sha256-aa2de246fc48a6a9859f0c [...]
+| v0.11.0 | 2021-08-18   | [下载](https://archive.apache.org/dist/incubator/yunikorn/0.11.0/apache-yunikorn-0.11.0-incubating-src.tar.gz) <br />[Checksum](https://archive.apache.org/dist/incubator/yunikorn/0.11.0/apache-yunikorn-0.11.0-incubating-src.tar.gz.sha512) & [签名](https://archive.apache.org/dist/incubator/yunikorn/0.11.0/apache-yunikorn-0.11.0-incubating-src.tar.gz.asc) | [scheduler](https://hub.docker.com/layers/apache/yunikorn/scheduler-0.11.0/images/sha256-7d156e4df2cb1a99d6f3cf [...]
 
 ## 验证签名
 
 使用 GPG 验证 Apache YuniKorn 版本:
 
-- 从镜像站点下载发行版 apache-yunikorn-X.Y.Z-incubating-src.tar.gz。
-- 从 Apache 下载签名文件 apache-yunikorn-X.Y.Z-incubating-src.tar.gz.asc。
+- 从镜像站点下载发行版 apache-yunikorn-X.Y.Z-src.tar.gz.tar.gz。
+- 从 Apache 下载签名文件 apache-yunikorn-X.Y.Z-src.tar.gz.tar.gz.asc。
 - 下载 Apache YuniKorn [KEYS](https://downloads.apache.org/incubator/yunikorn/KEYS) 文件。
 - `gpg --import KEYS`
-- `gpg --verify apache-yunikorn-X.Y.Z-incubating-src.tar.gz.asc`
+- `gpg --verify apache-yunikorn-X.Y.Z-src.tar.gz.tar.gz.asc`
 
 注意:在 MacOS-X 上,GNU gpg 实用程序在导入时不会从文件中读取。
 导入命令应该是 `gpg --import < KEYS`
@@ -55,16 +54,32 @@ Apache YuniKorn 的最新版本是 v0.12.2。
 
 要使用 SHA-512 checksum 校验和验证 Apache YuniKorn 版本的完整性:
 
-- 从镜像站点下载发行版 apache-yunikorn-X.Y.Z-incubating-src.tar.gz。
-- 从 Apache 下载校验和 apache-yunikorn-X.Y.Z-incubating-src.tar.gz.sha512。
+- 从镜像站点下载发行版 apache-yunikorn-X.Y.Z-src.tar.gz.tar.gz。
+- 从 Apache 下载校验和 apache-yunikorn-X.Y.Z-src.tar.gz.tar.gz.sha512。
 - 验证 checksum
-  - on MacOS-X: `shasum -c apache-yunikorn-X.Y.Z-incubating-src.tar.gz.sha512`
-  - on Linux: `sha256sum -c apache-yunikorn-X.Y.Z-incubating-src.tar.gz.sha512`
+  - 在 MacOS-X: `shasum -c apache-yunikorn-X.Y.Z-src.tar.gz.tar.gz.sha512`
+  - 在 Linux: `sha256sum -c apache-yunikorn-X.Y.Z-src.tar.gz.tar.gz.sha512`
 
-## 所有的发布版本
+## 验证发布
 
-您可以在 [Archive 孵化存储库](https://archive.apache.org/dist/incubator/yunikorn/) 中找到所有以前的版本。
-这可能包括上表中未提及的版本。
+本发布是一个源代码版本,您必须先构建后才能使用。
+您需要解压档案文件并按照 `README.md` 文件中的说明构建镜像。
+发布的档案文件中提供了使用本地构建的镜像创建小型集群的脚本和配置。
+
+您可以运行如下脚本以获取更多说明并列出验证发布内容所需的工具:
+```shell
+./validate_cluster.sh
+```
+创建的 `kind` 集群是一个小型但功能齐全的 Kubernetes 集群,这里面部署了 Apache YuniKorn。
+
+## 旧的发布
+
+所有的发布公告都可以在网站上的 [发布公告](/release-announce/) 中找到。
+
+您可以在 [档案存储库](https://archive.apache.org/dist/yunikorn/) 中找到以前所有的版本。
+如果您正在寻找在孵化期间制作的旧版本,请检查 [孵化器档案存储库](https://archive.apache.org/dist/incubator/yunikorn/)。
+
+档案里包括上表中未提及的所有版本。
 
 ## License
 
diff --git a/i18n/zh-cn/docusaurus-plugin-content-pages/community/roadmap.md b/i18n/zh-cn/docusaurus-plugin-content-pages/community/roadmap.md
index 5d4d7896b..a0bce8a86 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-pages/community/roadmap.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-pages/community/roadmap.md
@@ -32,27 +32,17 @@ under the License.
 # 下一个发布研发内容
 
 发布详情:
-- 版本:1.0.0
-- 目标发布日期:2022 年 3 月
-- 发布负责人:Wilfred Spiegelenburg
+- 版本:1.1.0
+- 目标发布日期:2022 年 8 月
+- 发布负责人:尚未决定
 - 开发状态:[问题跟踪器](https://issues.apache.org/jira/issues/?filter=12348416)
 
 计划的主要功能:
-- [YUNIKORN-971](https://issues.apache.org/jira/browse/YUNIKORN-971) 将 YuniKorn 实现为 Kubernetes 调度插件
-- [YUNIKORN-978](https://issues.apache.org/jira/browse/YUNIKORN-978) 准入控制器部署改进
-- [YUNIKORN-984](https://issues.apache.org/jira/browse/YUNIKORN-984) 实施用户和组限制(阶段 1)
-- [YUNIKORN-954](https://issues.apache.org/jira/browse/YUNIKORN-954) 移除旧的 REST api
-- [YUNIKORN-720](https://issues.apache.org/jira/browse/YUNIKORN-720) 对调度器资源队列指标监测系统的改进
+- [YUNIKORN-984](https://issues.apache.org/jira/browse/YUNIKORN-984) 实施用户和组限制 (phase 1)
+- [YUNIKORN-725](https://issues.apache.org/jira/browse/YUNIKORN-725) 支持ARM64处理器
+- [YUNIKORN-1187](https://issues.apache.org/jira/browse/YUNIKORN-1187) 恢复稳定性
+- [YUNIKORN-1](https://issues.apache.org/jira/browse/YUNIKORN-1) 应用优先级
+- [YUNIKORN-1196](https://issues.apache.org/jira/browse/YUNIKORN-1196) 更新K8s构建依赖
+- [YUNIKORN-1085](https://issues.apache.org/jira/browse/YUNIKORN-1085) 在自动缩放期间添加的新节点上,可能无法调度 DaemonSet pod
 
 支持的 Kubernetes 版本和 Kubernetes 依赖项将在开发周期中进行选择和最终确定。
-
-# 过去的发布
-
-| 版本     |    发布日期    |         发布负责人         | 发布公告                                               |
-|--------|:----------:|:---------------------:|----------------------------------------------------|
-| 0.12.2 | 2022-02-03 |     Craig Condit      | [0.12.2-release-notes](../release-announce/0.12.2) |
-| 0.12.1 | 2021-12-26 |      Chaoran Yu       | [0.12.1-release-notes](../release-announce/0.12.1) |
-| 0.11.0 | 2021-08-18 |     Kinga Marton      | [0.11.0-release-notes](../release-announce/0.11.0) |
-| 0.10.0 | 2021-04-09 |       Tao Yang        | [0.10.0-release-notes](../release-announce/0.10.0) |
-| 0.9.0  | 2020-08-28 | Wilfred Spiegelenburg | [0.9.0-release-notes](../release-announce/0.9.0)   |
-| 0.8.0  | 2020-05-04 |      Weiwei Yang      | [0.8.0-release-notes](../release-announce/0.8.0)   |
diff --git a/i18n/zh-cn/docusaurus-plugin-content-pages/release-announce/1.0.0.md b/i18n/zh-cn/docusaurus-plugin-content-pages/release-announce/1.0.0.md
new file mode 100644
index 000000000..b488eb765
--- /dev/null
+++ b/i18n/zh-cn/docusaurus-plugin-content-pages/release-announce/1.0.0.md
@@ -0,0 +1,135 @@
+---
+id: rn-1.0.0
+title: 发布公告 v1.0.0
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# 发布公告 v1.0.0
+我们很高兴地宣布 Apache YuniKorn 社区已投票发布 1.0.0。这是 Apache YuniKorn 从孵化项目毕业后的第一个版本。
+
+Apache YuniKorn 是一个独立的资源调度程序,旨在管理和调度容器编排框架(如 Kubernetes)上的大数据工作负载,用于本地和云端用例。
+
+## 概述
+The Apache YuniKorn 社区在此版本中修复了 173 个 [JIRA问题](https://issues.apache.org/jira/issues/?filter=12350818)。
+
+发布负责人: Wilfred Spiegelenburg
+
+发布日期: 2022-05-03
+
+## 不兼容的更改
+作为此版本的一部分,我们引入了许多不兼容的更改。
+
+### helm 更新
+随着对 helm chart 的更改,从旧版本使用 helm 升级到 1.0.0 可能无法正常执行。
+解决方法是先卸载旧版本,然后执行当前版本的全新安装。
+
+### 配置更改
+队列配置现在可以支持度量修饰符。
+这会改变配额值在配置中的解释方式。
+在 1.0.0 之前,所有内存值都被解释为 _megabytes_ 而 vcore(cpu) 值被解释为 _milli cores_。
+从 1.0.0 开始,内存值在 **bytes** 中指定,vcore 在 **cores** [YUNIKORN-629](https://issues.apache.org/jira/browse/YUNIKORN-629) 中指定。
+
+要保持配置中值的相同解释,请对 1.0.0 之前的配置进行如下更改:
+
+| 类型    | 修改   | 旧值          | 新值           |
+|--------|--------|--------------|---------------|
+| memory | 添加 M  | memory: 2048 | memory: 2048M |
+| vcore  | 添加 m  | vcore: 250   | vcore: 250m   |
+| other  | none   | license: 1   | license: 1    | 
+
+### 资源展示与通信
+k8shim 将 pod 和其他对象的内存资源转换为 megabytes 可能会导致 Kubernetes 工具和 YuniKorn 占用的大小之间存在差异。
+这可能会导致围绕节点匹配和节点自动缩放而产生问题。
+在 1.0.0 中,所有内存资源在用于计算和通信之前都转换为 **bytes** [YUNIKORN-1105](https://issues.apache.org/jira/browse/YUNIKORN-1105)。
+
+所有 REST 响应对象中的资源不再是单个字符串,而是使用每个资源类型的键值对的 JSON 结构。
+新资源 JSON 响应对象的示例:
+```json
+"allocatedResource": {
+  "memory": 54000000,
+  "vcore": 80
+}
+```
+REST 返回的内容里不包括或不支持度量修饰符。
+在 REST 响应对象的所有内存值都会转为 **bytes** 。
+CPU值(即vcore)没有改变,仍然使用 **milli cores**。
+REST 文档已更新,从而可以显示新的资源结构 [YUNIKORN-165](https://issues.apache.org/jira/browse/YUNIKORN-165)。
+
+### REST 响应中的 Timestamp
+REST API 中的所有 Timestamp 现在都返回为自 UTC 1970-01-01 时间以来经过的纳秒数。
+`int64` 中可以显示的时间范围是从 1678 年到 2262 年,详情参见 [Go Time UnixNano](https://pkg.go.dev/time#Time.UnixNano)。
+而早期版本中的 Timestamp 作为 REST 响应内容的一部分被转换为字符串进行创建 [YUNIKORN-1170](https://issues.apache.org/jira/browse/YUNIKORN-1170)。
+
+### 删除旧的 REST API 接口
+REST API 已更新为支持指定分区的接口。不带分区参数的旧版本接口已被删除:
+
+- `/ws/v1/queues` 替换为 `/ws/v1/partition/{partitionName}/queues`
+- `/ws/v1/apps` 替换为 `ws/v1/partition/{partitionName}/queues/{queueName}/application`
+- `/ws/v1/nodes` 替换为 `/ws/v1/partition/{partitionName}/nodes`
+
+[YUNIKORN-954](https://issues.apache.org/jira/browse/YUNIKORN-954)
+
+## 主要更新
+
+### 插件模式的技术预览
+作为此版本的一部分,我们添加了一种新的部署模式,该模式建立在 [调度框架](https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/) 之上。
+这是调度器 k8shim 工作方式的一个重大变化。由于实现尚未成熟,此种部署模式被视为一种技术预览。
+相关的设计文档可以在网站上找到 [K8s 调度器插件](https://yunikorn.apache.org/zh-cn/docs/next/design/scheduler_plugin) 。
+标准和插件的部署镜像都是通过默认构建程序构建的。
+部署类型之间的选择是 [基于 helm 变量](https://yunikorn.apache.org/zh-cn/docs/next/user_guide/deployment_modes) 来进行的区分。
+
+### 内存和 CPU 使用修复
+作为该版本的一部分,主程序和 k8shim 之间的通信已被简化 [YUNIKORN-462](https://issues.apache.org/jira/browse/YUNIKORN-462)。
+使用这些更改简化了 k8shim 中的缓存使用,并修复了许多内存泄漏的问题。
+可以在 jiras [YUNIKORN-876](https://issues.apache.org/jira/browse/YUNIKORN-876) 和 [YUNIKORN-1100](https://issues.apache.org/jira/browse/YUNIKORN-1100) 中查看更详细的信息。
+
+如果未执行调度操作,主程序中的空闲循环已被移除,这会降低调度器的 CPU 使用率 [YUNIKORN-1106](https://issues.apache.org/jira/browse/YUNIKORN-1106)。
+
+### 安全改进
+为了提高安全性,我们已经进行了许多更改。
+
+调度器不再使用 `cluster-admin` 的权限。
+调度器使用的权限与默认调度程序使用的权限相同。
+添加了占位 pod 所需的一些额外权限 [YUNIKORN-997](https://issues.apache.org/jira/browse/YUNIKORN-997)。
+
+docker 镜像中的进程不再以 `root` 用户身份运行,而是使用 `yunikorn` 用户 [YUNIKORN-1111](https://issues.apache.org/jira/browse/YUNIKORN-1111)。
+
+准入控制器使用的证书会在到期前自动轮换,从而不会导致停机 [YUNIKORN-1119](https://issues.apache.org/jira/browse/YUNIKORN-1119)。
+
+占位处理会运行一个简单的暂停镜像。在默认情况下,此暂停镜像是从外部镜像存储库加载的。
+YuniKorn 现在允许为占位操作设置自定义镜像。可以为 deployment 指定一个映镜像。
+它接受一个镜像名称,包括一个主机名,可以使用本地存储库进行 air-gapped deployments [YUNIKORN-638](https://issues.apache.org/jira/browse/YUNIKORN-638)。 
+:::tip
+占位镜像应该是轻量级的镜像,最好是一个暂停或休眠镜像。
+:::
+
+### 验证工具
+作为发布的一部分,我们提供了一个新的脚本,可允许创建一个简单的基于 `kind` 的 Kubernetes 集群。
+
+您需要解压档案文件并按照 `README.md` 文件中的说明构建镜像。
+运行脚本以获取更多说明并列出验证版本所需的工具:
+```shell
+./validate_cluster.sh
+```
+创建的 `kind` 集群是一个小型但功能齐全的 Kubernetes 集群,这里面部署了 Apache YuniKorn [YUNIKORN-764](https://issues.apache.org/jira/browse/YUNIKORN-764)
+
+## 社区
+自最新的发布以来,Apache YuniKorn 已从孵化项目毕业。
\ No newline at end of file