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
@@ -497,6 +497,11 @@ export const kubernetesApi = {
|
||||
return http.get(`/kubernetes/${clusterCode}/capacity`, params);
|
||||
},
|
||||
|
||||
// === 🆕 M13: 多集群资源对比看板 ===
|
||||
getMultiClusterComparison: async () => {
|
||||
return http.get('/kubernetes/compare');
|
||||
},
|
||||
|
||||
// === 🆕 YAML Apply ===
|
||||
applyYAML: async (clusterCode: string, yaml: string) => {
|
||||
return http.post(`/kubernetes/${clusterCode}/yaml/apply`, { yaml });
|
||||
|
||||
Reference in new issue
Block a user