This is an automated email from the ASF dual-hosted git repository.
steinsgateted 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 57227ebe02 [YUNIKORN-2032] Update cluster api document (#353)
57227ebe02 is described below
commit 57227ebe02343868efd6a21fbbb8cb4b31142d40
Author: targetoee <[email protected]>
AuthorDate: Sun Oct 15 23:00:29 2023 +0800
[YUNIKORN-2032] Update cluster api document (#353)
---
docs/api/cluster.md | 14 ++++++++++----
.../docusaurus-plugin-content-docs/current/api/cluster.md | 13 +++++++++----
2 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/docs/api/cluster.md b/docs/api/cluster.md
index b4498d2b51..35e98dac44 100644
--- a/docs/api/cluster.md
+++ b/docs/api/cluster.md
@@ -24,7 +24,8 @@ under the License.
## Clusters
-Returns general information about the clusters managed by the YuniKorn
Scheduler. Information includes number of (total, failed, pending, running,
completed) applications and containers and the build information of resource
managers.
+Returns general information about the clusters managed by the YuniKorn
Scheduler.
+The response includes build information about resource managers.
**URL** : `/ws/v1/clusters`
@@ -43,13 +44,18 @@ As an example, here is a response from a cluster with 1
resource manager.
```json
[
{
- "startTime": 1649167576110754000,
+ "startTime": 1697100824863892713,
"rmBuildInformation": [
{
- "buildDate": "2022-02-21T19:09:16+0800",
+ "arch": "amd64",
+ "buildDate": "2023-09-04T18:11:43+0800",
"buildVersion": "latest",
+ "coreSHA": "0ecf24d2aad2",
+ "goVersion": "1.21",
"isPluginVersion": "false",
- "rmId": "rm-123"
+ "rmId": "mycluster",
+ "shimSHA": "8b26c373b4b5",
+ "siSHA": "e7622cf54e95"
}
],
"partition": "default",
diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/cluster.md
b/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/cluster.md
index 1f354d3b60..48f25f82ae 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/cluster.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/cluster.md
@@ -24,7 +24,7 @@ under the License.
## 集群
-将回传Yunikorn所管理的集群的信息。信息包括应用程序的数量(包含总数、失败、挂起、正在运行、已完成)和容器的数量,以及资源管理器的构建信息。
+回传 Yunikorn 所管理的集群信息,像是资源管理器的构建信息。
**位置(URL)** : `/ws/v1/clusters`
@@ -43,13 +43,18 @@ under the License.
```json
[
{
- "startTime": 1649167576110754000,
+ "startTime": 1697100824863892713,
"rmBuildInformation": [
{
- "buildDate": "2022-02-21T19:09:16+0800",
+ "arch": "amd64",
+ "buildDate": "2023-09-04T18:11:43+0800",
"buildVersion": "latest",
+ "coreSHA": "0ecf24d2aad2",
+ "goVersion": "1.21",
"isPluginVersion": "false",
- "rmId": "rm-123"
+ "rmId": "mycluster",
+ "shimSHA": "8b26c373b4b5",
+ "siSHA": "e7622cf54e95"
}
],
"partition": "default",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]