feat(k8s): M13 多集群资源对比看板 — GetMultiClusterComparison handler + ClusterComparePage (柱状图/雷达图/饼图/详细对比表)
This commit is contained in:
1 parent
7192f58b72
commit
3d7932c087
9 files changed
+591
-2
No files matched your search
@@ -25,6 +25,7 @@ import { KubernetesWorkloads } from '@/components/kubernetes/KubernetesWorkloads
|
||||
import PodMetricsPage from '@/components/kubernetes/PodMetricsPage';
|
||||
import EventsPage from '@/components/kubernetes/EventsPage';
|
||||
import CapacityPage from '@/components/kubernetes/CapacityPage';
|
||||
import ClusterComparePage from '@/components/kubernetes/ClusterComparePage';
|
||||
import { AlertManager } from '@/components/monitor/AlertManager';
|
||||
import { ApprovalFlowManager } from '@/components/approval/ApprovalFlow';
|
||||
import { ScriptManager } from '@/components/automation/ScriptManager';
|
||||
@@ -80,9 +81,11 @@ function App() {
|
||||
{/* ================================================================ */}
|
||||
{/* Kubernetes — Kuboard-style routes */}
|
||||
{/* ================================================================ */}
|
||||
{/* 集群列表 */}
|
||||
{/* Kubernetes 集群列表 */}
|
||||
<Route path="kubernetes">
|
||||
<Route index element={<KubernetesClusters />} />
|
||||
{/* 🆕 M13: 多集群资源对比看板(全局,不属于特定集群) */}
|
||||
<Route path="compare" element={<ClusterComparePage />} />
|
||||
{/* 集群概览 (节点 + 命名空间列表) */}
|
||||
<Route path=":clusterCode">
|
||||
<Route index element={<ClusterOverviewPage />} />
|
||||
|
||||
Reference in new issue
Block a user