kubelet: retport system info in node information

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
This commit is contained in:
Federico Simoncelli
2015-03-02 06:29:32 -05:00
parent 1b18440f35
commit 644d775bc1
8 changed files with 65 additions and 0 deletions

View File

@@ -329,6 +329,7 @@ func (s *NodeController) updateNodeInfo(node *api.Node) error {
for key, value := range nodeInfo.Capacity {
node.Spec.Capacity[key] = value
}
node.Status.NodeInfo = nodeInfo.NodeSystemInfo
return nil
}