Add node components version to API

This commit is contained in:
Dawn Chen
2015-03-25 13:49:38 -07:00
parent e4fc45c26f
commit 086bb1ac09
4 changed files with 40 additions and 0 deletions

View File

@@ -968,6 +968,16 @@ type NodeSystemInfo struct {
SystemUUID string `json:"systemUUID"`
// BootID is the boot-id reported by the node
BootID string `json:"bootID"`
// Kernel version reported by the node
KernelVersion string `json:"kernelVersion""`
// OS image used reported by the node
OsImage string `json:"osImage"`
// Docker version reported by the node
DockerVersion string `json:"dockerVersion"`
// Kubelet version reported by the node
KubeletVersion string `json:"kubeletVersion"`
// Kube-proxy version reported by the node
KubeProxyVersion string `json:"kubeProxyVersion"`
}
// NodeStatus is information about the current status of a node.