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 2023/06/01 05:51:53 UTC
[yunikorn-site] branch master updated: [YUNIKORN-1604] Add K8Shim state dump info (#305)
This is an automated email from the ASF dual-hosted git repository.
yuteng 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 baf54f159 [YUNIKORN-1604] Add K8Shim state dump info (#305)
baf54f159 is described below
commit baf54f15948768c232c98a9defa991b9c27795cd
Author: Wilfred Spiegelenburg <wi...@apache.org>
AuthorDate: Thu Jun 1 15:51:48 2023 +1000
[YUNIKORN-1604] Add K8Shim state dump info (#305)
* [YUNIKORN-1604] Add K8Shim state dump info
K8Shim state dump information, high level only as content is not
finalised yet.
Upgrade to Docusaurus 2.4.1
* fix one translated pod reference
---
docs/api/scheduler.md | 10 +++++++++-
.../docusaurus-plugin-content-docs/current/api/scheduler.md | 8 ++++++++
package.json | 6 +++---
3 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/docs/api/scheduler.md b/docs/api/scheduler.md
index f431a60bf..f52da9b5e 100644
--- a/docs/api/scheduler.md
+++ b/docs/api/scheduler.md
@@ -1796,6 +1796,7 @@ Endpoint to retrieve the following information in a single response:
* Cluster utilization
* Container history
* Queues
+* RMDiagnostics
**URL** : `/ws/v1/fullstatedump`
@@ -1809,7 +1810,14 @@ Endpoint to retrieve the following information in a single response:
**Content examples**
-The output of this REST query can be rather large and it is a combination of those which have already been demonstrated.
+The output of this REST query can be rather large, and it is a combination of those which have already been demonstrated.
+
+The `RMDiagnostics` shows the content of the K8Shim cache. The exact content is version dependent and has not stabilised.
+The current content shows the cached objects:
+* nodes
+* pods
+* priorityClasses
+* schedulingState (pod status)
### Failure response
diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/scheduler.md b/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/scheduler.md
index 24edc70ba..19b932795 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/scheduler.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/scheduler.md
@@ -1389,6 +1389,7 @@ checksum: D75996C07D5167F41B33E27CCFAEF1D5C55BE3C00EE6526A7ABDF8435DB4078E
* 集群的使用率
* 容器的历史
* 队列
+* RM 诊断
**位置(URL)** : `/ws/v1/fullstatedump`
@@ -1404,6 +1405,13 @@ checksum: D75996C07D5167F41B33E27CCFAEF1D5C55BE3C00EE6526A7ABDF8435DB4078E
该REST请求的输出将会很巨大,且为前面演示过的输出的组合。
+RM 诊断显示 K8Shim 缓存的内容。确切内容取决于版本并且尚未稳定。
+当前内容显示缓存的对象:
+* 节点
+* pods
+* 优先等级
+* 调度状态(pod状态)
+
### 错误时的响应
**代码**:`500 Internal Server Error`
diff --git a/package.json b/package.json
index 0ba03622e..825aca10a 100644
--- a/package.json
+++ b/package.json
@@ -10,9 +10,9 @@
"release": "docusaurus docs:version"
},
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/preset-classic": "2.4.0",
- "@docusaurus/theme-search-algolia": "^2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/preset-classic": "2.4.1",
+ "@docusaurus/theme-search-algolia": "^2.4.1",
"@mdx-js/react": "^1.5.8",
"clsx": "^1.1.1",
"node": "^18.8.0",