kubelet: add GetNodeInfo implementation
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
This commit is contained in:
@@ -798,6 +798,13 @@ type NodeStatus struct {
|
||||
Addresses []NodeAddress `json:"addresses,omitempty"`
|
||||
}
|
||||
|
||||
// NodeInfo is the information collected on the node.
|
||||
type NodeInfo struct {
|
||||
TypeMeta `json:",inline"`
|
||||
// Capacity represents the available resources of a node
|
||||
Capacity ResourceList `json:"capacity,omitempty"`
|
||||
}
|
||||
|
||||
type NodePhase string
|
||||
|
||||
// These are the valid phases of node.
|
||||
|
Reference in New Issue
Block a user