mirror of
https://github.com/datarhei/core.git
synced 2025-10-04 15:42:57 +08:00
Fix wrong memory limit, add total memory, add cpu and memory consumed by core itself to node resources
This commit is contained in:
@@ -118,8 +118,11 @@ func (h *ClusterHandler) marshalClusterNode(node cluster.ClusterNode) api.Cluste
|
||||
NCPU: node.Resources.NCPU,
|
||||
CPU: node.Resources.CPU,
|
||||
CPULimit: node.Resources.CPULimit,
|
||||
CPUCore: node.Resources.CPUCore,
|
||||
Mem: node.Resources.Mem,
|
||||
MemLimit: node.Resources.MemLimit,
|
||||
MemTotal: node.Resources.MemTotal,
|
||||
MemCore: node.Resources.MemCore,
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user