mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Add node components version to API
This commit is contained in:
parent
e4fc45c26f
commit
086bb1ac09
@ -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.
|
||||
|
@ -784,6 +784,16 @@ type NodeSystemInfo struct {
|
||||
SystemUUID string `json:"systemUUID" description:"system uuid is the system-uuid reported by the node"`
|
||||
// BootID is the boot-id reported by the node
|
||||
BootID string `json:"bootID" description:"boot id is the boot-id reported by the node"`
|
||||
// Kernel version reported by the node
|
||||
KernelVersion string `json:"kernelVersion" description:"Kernel version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)"`
|
||||
// OS image used reported by the node
|
||||
OsImage string `json:"osImage" description:"OS image used reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))"`
|
||||
// Docker version reported by the node
|
||||
DockerVersion string `json:"dockerVersion" description:"Docker version reported by the node through docker remote API (e.g. 1.5.0)"`
|
||||
// Kubelet version reported by the node
|
||||
KubeletVersion string `json:"kubeletVersion" description:"Kubelet version reported by the node"`
|
||||
// Kube-proxy version reported by the node
|
||||
KubeProxyVersion string `json:"KubeProxyVersion" description:"Kube-proxy version reported by the node"`
|
||||
}
|
||||
|
||||
// NodeStatus is information about the current status of a node.
|
||||
|
@ -785,6 +785,16 @@ type NodeSystemInfo struct {
|
||||
SystemUUID string `json:"systemUUID" description:"system uuid is the system-uuid reported by the node"`
|
||||
// BootID is the boot-id reported by the node
|
||||
BootID string `json:"bootID" description:"boot id is the boot-id reported by the node"`
|
||||
// Kernel version reported by the node
|
||||
KernelVersion string `json:"kernelVersion" description:"Kernel version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)"`
|
||||
// OS image used reported by the node
|
||||
OsImage string `json:"osImage" description:"OS image used reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))"`
|
||||
// Docker version reported by the node
|
||||
DockerVersion string `json:"dockerVersion" description:"Docker version reported by the node through docker remote API (e.g. 1.5.0)"`
|
||||
// Kubelet version reported by the node
|
||||
KubeletVersion string `json:"kubeletVersion" description:"Kubelet version reported by the node"`
|
||||
// Kube-proxy version reported by the node
|
||||
KubeProxyVersion string `json:"KubeProxyVersion" description:"Kube-proxy version reported by the node"`
|
||||
}
|
||||
|
||||
// NodeStatus is information about the current status of a node.
|
||||
|
@ -966,6 +966,16 @@ type NodeSystemInfo struct {
|
||||
SystemUUID string `json:"systemUUID"`
|
||||
// BootID is the boot-id reported by the node
|
||||
BootID string `json:"bootID" description:"boot id is the boot-id reported by the node"`
|
||||
// Kernel version reported by the node
|
||||
KernelVersion string `json:"kernelVersion" description:"Kernel version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)"`
|
||||
// OS image used reported by the node
|
||||
OsImage string `json:"osImage" description:"OS image used reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))"`
|
||||
// Docker version reported by the node
|
||||
DockerVersion string `json:"dockerVersion" description:"Docker version reported by the node through docker remote API (e.g. 1.5.0)"`
|
||||
// Kubelet version reported by the node
|
||||
KubeletVersion string `json:"kubeletVersion" description:"Kubelet version reported by the node"`
|
||||
// Kube-proxy version reported by the node
|
||||
KubeProxyVersion string `json:"KubeProxyVersion" description:"Kube-proxy version reported by the node"`
|
||||
}
|
||||
|
||||
// NodeStatus is information about the current status of a node.
|
||||
|
Loading…
Reference in New Issue
Block a user