|
2 | 2 | title: HAMi-WebUI Refactoring and Multi-Cluster Capability |
3 | 3 | authors: |
4 | 4 | - "@Shenhan11" |
5 | | -reviewers: |
6 | | -- "" |
7 | 5 | approvers: |
8 | | -- "" |
| 6 | +- "@Nimbus318" |
9 | 7 | creation-date: 2025-02-09 |
10 | 8 |
|
11 | 9 | --- |
@@ -65,16 +63,16 @@ This section describes the proposal so reviewers understand the gist and expecte |
65 | 63 |
|
66 | 64 | ### User Stories (Optional) |
67 | 65 |
|
68 | | -**Story 1: Complete metric presentation** |
| 66 | +**Story 1: Complete metric presentation** |
69 | 67 | As a user, I only see partial basic metrics on the resource overview and node/GPU detail pages. Due to missing CPU/memory-related metrics and task distribution across nodes/GPUs, I expect to see more complete metrics and quickly understand resource status through charts and visualizations. |
70 | 68 |
|
71 | | -**Story 2: Clear information presentation** |
| 69 | +**Story 2: Clear information presentation** |
72 | 70 | As a user, when I view node or GPU lists, key information is buried in dense tables. Due to high data density and lack of visualization, I expect key information to be clearly highlighted and to use charts (e.g. time series, heatmaps, status distribution) to quickly understand overall status. |
73 | 71 |
|
74 | | -**Story 3: Multi-cluster Dashboard summary** |
| 72 | +**Story 3: Multi-cluster Dashboard summary** |
75 | 73 | As a user, I deploy HAMi in multiple Kubernetes clusters and have to open each cluster’s WebUI to see its overall status. Because this is fragmented and inefficient, I expect a multi-cluster Dashboard that shows each cluster’s summary (e.g. GPU total and utilization, node count, task count) in one page and allows switching the currently viewed cluster to see that cluster’s overview summary and quickly compare status across clusters. |
76 | 74 |
|
77 | | -**Story 4: Cluster list and detail view** |
| 75 | +**Story 4: Cluster list and detail view** |
78 | 76 | As a user, I manage many clusters and today need the CLI or multiple WebUIs to inspect each cluster. For easier management, I expect a cluster list page that shows basic info (name, labels, version, node count, status) per cluster and allows clicking into a cluster’s detail page to see overview, nodes, compute, and tasks for that cluster. |
79 | 77 |
|
80 | 78 | ### Notes/Constraints/Caveats (Optional) |
@@ -137,3 +135,4 @@ This section contains the concrete design details for implementation and review. |
137 | 135 |
|
138 | 136 | - **Only fix bugs in current codebase, no refactor**: Would improve stability somewhat but would not unify build and architecture or extend to multi-cluster at low cost; therefore the “refactor + multi-cluster” evolution is adopted. |
139 | 137 | - **Multi-cluster via multiple browser tabs, one per cluster**: Poor UX and no aggregate view; supporting cluster switching and optional aggregation inside the WebUI better fits operator workflows. |
| 138 | + |
0 commit comments