Skip to content

doc: updated design docs#252

Open
pggdev wants to merge 1 commit into
volcano-sh:mainfrom
pggdev:fix/design.md-docs
Open

doc: updated design docs#252
pggdev wants to merge 1 commit into
volcano-sh:mainfrom
pggdev:fix/design.md-docs

Conversation

@pggdev

@pggdev pggdev commented May 16, 2026

Copy link
Copy Markdown

Description

#251

Updated docs/design.md to better reflect the current Volcano Dashboard implementation.

Changes

  • Updated backend architecture details
  • Added current frontend stack information
  • Corrected sidebar navigation items
  • Replaced outdated Node module reference with current modules such as Pods and PodGroups
  • Added a brief deployment and permissions overview

Signed-off-by: pggdev <princegupta.ns153@gmail.com>
@volcano-sh-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign william-wang for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the design documentation for the Volcano dashboard to reflect the current backend architecture, frontend tech stack (including Vite and MUI), and UI layout. It also adds sections on deployment and RBAC permissions. Feedback suggests standardizing the UI library branding to 'MUI', ensuring the Queues module description includes the details view functionality, and clarifying the permissions section by explicitly listing the Kubernetes API verbs.

Comment thread docs/design.md
- Use Material-UI component library to design a modern, responsive user interface
- Implement dynamic rendering and frontend route management through React Router
- Use Vite for frontend development and build tooling
- Use Material UI component library to design a modern, responsive user interface

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with the official branding and the project's dependencies (@mui/material), it's recommended to refer to the component library as 'MUI' or 'Material-UI'. The current phrasing 'Material UI' is slightly informal and less precise.

Suggested change
- Use Material UI component library to design a modern, responsive user interface
- Use MUI (Material-UI) component library to design a modern, responsive user interface

Comment thread docs/design.md
| Node | Displays cluster node information and resource usage | No newline at end of file
| Dashboard | Provides a high-level overview of cluster resources, including jobs, queues, pods, status summaries, and charts. |
| Jobs | Displays Volcano jobs and their statuses, with support for filtering, details, YAML view, and management actions where supported. |
| Queues | Displays Volcano queues, with support for filtering, YAML view, and management actions where supported. |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The description for the Queues module appears to be missing the "details" functionality. The backend provides an endpoint to fetch details for a specific queue, so the documentation should reflect that a detail view is supported, similar to Jobs and PodGroups.

Suggested change
| Queues | Displays Volcano queues, with support for filtering, YAML view, and management actions where supported. |
| Queues | Displays Volcano queues, with support for filtering, details, YAML view, and management actions where supported. |

Comment thread docs/design.md
- Expose the dashboard through the `volcano-dashboard` Service
- Use a dedicated `volcano-dashboard` ServiceAccount for in-cluster Kubernetes API access
- Use ClusterRole and ClusterRoleBinding resources to grant the dashboard access to required Volcano and Kubernetes resources
- Current permissions include read access to Volcano Jobs, Queues, PodGroups, Kubernetes Pods, and Namespaces, with create and delete permissions for Jobs and create, update, patch, and delete permissions for Queues

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This sentence is quite long and combines many details, which can make it difficult to read. For better clarity, consider rephrasing to separate the read and write permissions more distinctly. Explicitly mentioning the verbs for read access (get, list, watch) would also add valuable detail.

Suggested change
- Current permissions include read access to Volcano Jobs, Queues, PodGroups, Kubernetes Pods, and Namespaces, with create and delete permissions for Jobs and create, update, patch, and delete permissions for Queues
- Current permissions include read access (`get`, `list`, `watch`) for Jobs, Queues, PodGroups, Pods, and Namespaces, plus write permissions for Jobs (`create`, `delete`) and Queues (`create`, `update`, `patch`, `delete`).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants