@daocloud-proto/kpanda 0.26.0-dev-bb5dba9d → 0.26.0-dev-f2be9207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -60,35 +60,4 @@ export type ListClusterGPUSummaryRequest = {
|
|
|
60
60
|
|
|
61
61
|
export type ListClusterGPUSummaryResponese = {
|
|
62
62
|
summary?: GPUSummary[]
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export type GetNodeGPUStatsRequest = {
|
|
66
|
-
cluster?: string
|
|
67
|
-
node?: string
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export type GetNodeGPUStatsResponse = {
|
|
71
|
-
mode?: GPUModel
|
|
72
|
-
fullGpuStats?: FullGPUNodeStats
|
|
73
|
-
vgpuStats?: VGPUNodeStats
|
|
74
|
-
migStats?: MIGNodeStats
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export type FullGPUNodeStats = {
|
|
78
|
-
totalGpuNumber?: number
|
|
79
|
-
allocatedGpuNumber?: number
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type VGPUNodeStats = {
|
|
83
|
-
physicalGpuNumber?: number
|
|
84
|
-
totalVirtualGpuNumber?: number
|
|
85
|
-
allocatedVirtualGpuNumber?: number
|
|
86
|
-
computePowerAllocationRate?: number
|
|
87
|
-
totalGpuMemory?: string
|
|
88
|
-
allocatedGpuMemory?: string
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export type MIGNodeStats = {
|
|
92
|
-
totalGpuNumber?: number
|
|
93
|
-
allocatedGpuNumber?: number
|
|
94
63
|
}
|
|
@@ -650,9 +650,6 @@ export class Core {
|
|
|
650
650
|
static ListClusterGPUSummary(req: KpandaIoApiCoreV1alpha1Gpu.ListClusterGPUSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Gpu.ListClusterGPUSummaryResponese> {
|
|
651
651
|
return fm.fetchReq<KpandaIoApiCoreV1alpha1Gpu.ListClusterGPUSummaryRequest, KpandaIoApiCoreV1alpha1Gpu.ListClusterGPUSummaryResponese>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/gpusummary?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
652
652
|
}
|
|
653
|
-
static GetNodeGPUStats(req: KpandaIoApiCoreV1alpha1Gpu.GetNodeGPUStatsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Gpu.GetNodeGPUStatsResponse> {
|
|
654
|
-
return fm.fetchReq<KpandaIoApiCoreV1alpha1Gpu.GetNodeGPUStatsRequest, KpandaIoApiCoreV1alpha1Gpu.GetNodeGPUStatsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/nodes/${req["node"]}/gpu-stats?${fm.renderURLSearchParams(req, ["cluster", "node"])}`, {...initReq, method: "GET"})
|
|
655
|
-
}
|
|
656
653
|
}
|
|
657
654
|
export class Networking {
|
|
658
655
|
static ListClusterIngresses(req: KpandaIoApiNetworkingV1alpha1Ingress.ListClusterIngressesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Ingress.ListClusterIngressesResponse> {
|