Skip to content

Commit

Permalink
add other resources support to status updater
Browse files Browse the repository at this point in the history
  • Loading branch information
enoodle committed Nov 26, 2024
1 parent 3573371 commit 7de91de
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions internal/status-updater/handlers/node/topology_cm.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ func (p *NodeHandler) createNodeTopologyCM(node *v1.Node) error {
}

nodeTopology = &topology.NodeTopology{
GpuMemory: nodePoolTopology.GpuMemory,
GpuProduct: nodePoolTopology.GpuProduct,
Gpus: generateGpuDetails(nodePoolTopology.GpuCount, node.Name),
MigStrategy: p.clusterTopology.MigStrategy,
GpuMemory: nodePoolTopology.GpuMemory,
GpuProduct: nodePoolTopology.GpuProduct,
Gpus: generateGpuDetails(nodePoolTopology.GpuCount, node.Name),
MigStrategy: p.clusterTopology.MigStrategy,
OtherDevices: nodePoolTopology.OtherDevices,
}

err := topology.CreateNodeTopologyCM(p.kubeClient, nodeTopology, node)
Expand Down

0 comments on commit 7de91de

Please sign in to comment.