Kubernetes Inventory Uploads
The following data classes, each representing a particular Kubernetes resource type or other information about the cluster, are uploaded as part of the primary Kubernetes resource inventory in the k8s-inventory-clusterId-timestamp.ndi file.
MGS_KubernetesCluster
<Hardware Class="MGS_KubernetesCluster" Name="d8259158-fdfe-4ba3-ae28-be62a51df7f9" Evidence="OS API">
<Property Name="Name" Value="d8259158-fdfe-4ba3-ae28-be62a51df7f9"/>
<Property Name="ID" Value="d8259158-fdfe-4ba3-ae28-be62a51df7f9"/>
<Property Name="Version" Value="v1.21.2"/>
<Property Name="MajorVersion" Value="1"/>
<Property Name="MinorVersion" Value="21"/>
<Property Name="Platform" Value="linux/amd64"/>
<Property Name="BuildDate" Value="2021-06-16T12:53:14Z"/>
</Hardware>
Field | Description |
---|---|
|
A descriptive name for the cluster |
|
Unique identifier for the cluster |
|
The full version of Kubernetes |
|
The major version of Kubernetes |
|
The minor version of Kubernetes |
|
The operating system and CPU architecture for which the Kubernetes binaries were built |
|
The date the Kubernetes binaries were built |
MGS_KubernetesNode
Node
.
Example:<Hardware Class="MGS_KubernetesNode" Name="f97a7706-2890-4ac7-96ab-6d9405d81d1e" Evidence="OS API">
<Property Name="Name" Value="foo.example.org"/>
<Property Name="UID" Value="f97a7706-2890-4ac7-96ab-6d9405d81d1e"/>
<Property Name="ResourceVersion" Value="236788"/>
<Property Name="Created" Value="2021-07-26T17:19:36Z"/>
<Property Name="OS" Value="linux"/>
<Property Name="Arch" Value="amd64"/>
<Property Name="MachineID" Value="da8ad26e83c04fb5a2700f0299824737"/>
<Property Name="KubeletVersion" Value="v1.21.2"/>
<Property Name="Runtime" Value="docker://20.10.6"/>
<Property Name="BootID" Value="0377939c-1adb-4ff6-afb3-fd71910719f6"/>
<Property Name="CPUs" Value="16"/>
<Property Name="MemoryBytes" Value="274530623488"/>
</Hardware>
Field | Description |
---|---|
|
The name of the node, typically the hostname of the underlying server |
|
Unique identifier for the node |
|
The cluster version at which the node was last modified |
|
The time at which the node was created |
|
The time at which the node was deleted |
|
The operating system of the node's underlying server |
|
The CPU architecture of the node's underlying server |
|
A unique identifier passed through from the node's underlying server |
|
The version of the Kubernetes |
|
The container runtime used on the node |
|
An identifier generated by the operating system on each boot |
|
CPU capacity of the node as a number of cores |
|
Memory capacity of the node in bytes |
MGS_KubernetesNamespace
Namespace
in use within the cluster. Example (notice
that the first line has been wrapped for
presentation):<Hardware Class="MGS_KubernetesNamespace" Name="d8259158-fdfe-4ba3-ae28-be62a51df7f9"
Evidence="OS API">
<Property Name="Name" Value="kube-system"/>
<Property Name="UID" Value="d8259158-fdfe-4ba3-ae28-be62a51df7f9"/>
<Property Name="ResourceVersion" Value="26"/>
<Property Name="Created" Value="2021-07-26T17:19:36Z"/>
</Hardware>
Field | Description |
---|---|
|
The name of the namespace |
|
Unique identifier for the namespace |
|
The cluster version at which the namespace was last modified |
|
The time at which the namespace was created |
|
The time at which the namespace was deleted |
MGS_KubernetesOwnerReference
Pod
resource that is part of a chain of ownership
beginning with a Pod
. Contains the UID of its owner, if it has one.
Examples (notice that the first lines of each class have been wrapped for
presentation):<Hardware Class="MGS_KubernetesOwnerReference" Name="6b3b1428-572e-4cf8-aa6d-0672d5defc04"
Evidence="OS API">
<Property Name="APIVersion" Value="apps/v1"/>
<Property Name="Kind" Value="ReplicaSet"/>
<Property Name="Name" Value="coredns-558bd4d5db"/>
<Property Name="UID" Value="6b3b1428-572e-4cf8-aa6d-0672d5defc04"/>
<Property Name="Owner" Value="b5206863-bed7-477e-be40-be1031795c34"/>
</Hardware>
<Hardware Class="MGS_KubernetesOwnerReference" Name="b5206863-bed7-477e-be40-be1031795c34"
Evidence="OS API">
<Property Name="APIVersion" Value="apps/v1"/>
<Property Name="Kind" Value="Deployment"/>
<Property Name="Name" Value="coredns"/>
<Property Name="UID" Value="b5206863-bed7-477e-be40-be1031795c34"/>
</Hardware>
Field | Description |
---|---|
|
The API group and version of the resource's type |
|
The resource type |
|
The name of the resource |
|
Unique identifier for the resource |
|
The UID of the resource that owns this resource (property omitted when the owner is not known) |
MGS_KubernetesPod
Pod
. Example (notice that the first line has been
wrapped for
presentation):<Hardware Class="MGS_KubernetesPod" Name="5c5a521b-7d58-47ca-8983-536bc2ec8c75"
Evidence="OS API">
<Property Name="Name" Value="coredns-558bd4d5db-4w2sc"/>
<Property Name="Namespace" Value="kube-system"/>
<Property Name="UID" Value="5c5a521b-7d58-47ca-8983-536bc2ec8c75"/>
<Property Name="Created" Value="2021-07-26T17:19:52Z"/>
<Property Name="ResourceVersion" Value="465"/>
<Property Name="Node" Value="f97a7706-2890-4ac7-96ab-6d9405d81d1e"/>
<Property Name="ServiceAccount" Value="coredns"/>
<Property Name="Phase" Value="Running"/>
<Property Name="Started" Value="2021-07-26T17:19:52Z"/>
<Property Name="Owner" Value="6b3b1428-572e-4cf8-aa6d-0672d5defc04"/>
</Hardware>
Field | Description |
---|---|
|
The name of the pod |
|
The namespace in which the pod is encapsulated |
|
Unique identifier for the pod |
|
The time at which the pod was created |
|
The time at which the pod was deleted |
|
The cluster version in which the pod was last modified |
|
The UID of the node on which the pod is scheduled |
|
The service account under which the pod is running |
|
The runtime state of the pod |
|
The time at which the pod was started |
|
The UID of the resource that owns the pod |
|
The value of the |
|
The value of the |
|
The value of the |
|
The value of the |
|
The value of the |
|
The value of the |
|
The value of the |
MGS_KubernetesContainer
Pod
. You can identify its
Pod
using the PodUID
field. <Hardware Class="MGS_KubernetesContainer"
Name="kube-system/coredns-558bd4d5db-4w2sc/coredns" Evidence="OS API">
<Property Name="Name" Value="coredns"/>
<Property Name="ImageTag" Value="k8s.gcr.io/coredns/coredns:v1.8.0"/>
<Property Name="PodUID" Value="5c5a521b-7d58-47ca-8983-536bc2ec8c75"/>
<Property Name="Entrypoint" Value=""/>
<Property Name="Cmd" Value="-conf /etc/coredns/Corefile"/>
<Property Name="ImageID"
Value="sha256:cc8fb77bc2a0541949d1d9320a641b82fd392b0d3d8145469ca4709ae769980e"/>
<Property Name="RestartCount" Value="0"/>
<Property Name="Status" Value="running"/>
<Property Name="LastStarted" Value="2021-07-26T17:19:54Z"/>
</Hardware>
Field | Description |
---|---|
|
The name of the container |
|
The name or |
|
The UID of the pod to which this container belongs |
|
The executable the container should run (not always set, as it may be defined in the container image) |
|
The arguments to the executable that the container runs (not always set) |
|
A Boolean that is true if the container is an |
|
The CPU resource limit, if one is set, in fractional cores |
|
The unique ID of the container image |
|
The number of times the container has been restarted |
|
The runtime state of the container |
|
The reason the container is in the reported state, if present |
|
The time at which the container entered the running state |
|
The time at which the container entered the terminated state |
|
The exit code of the application if the container has terminated |
MGS_KubernetesImage
<Hardware Class="MGS_KubernetesImage"
Name="sha256:cc8fb77bc2a0541949d1d9320a641b82fd392b0d3d8145469ca4709ae769980e"
Evidence="OS API">
<Property Name="ID"
Value="sha256:cc8fb77bc2a0541949d1d9320a641b82fd392b0d3d8145469ca4709ae769980e"/>
<Property Name="Names"
Value="k8s.gcr.io/coredns/coredns@sha256:
cc8fb77bc2a0541949d1d9320a641b82fd392b0d3d8145469ca4709ae769980e,
k8s.gcr.io/coredns/coredns:v1.8.0"/>
<Property Name="SizeBytes" Value="42454755"/>
<Property Name="ClusterInstalled" Value="2021-07-30T13:03:42.323598116Z"/>
</Hardware>
Field | Description |
---|---|
|
The unique ID of the image |
|
A comma-separated list of names or |
|
The size of the image in bytes |
|
The time at which the image was first observed to be installed on any node in the cluster |
|
The time at which the image was observed to no longer be installed on any node in the cluster |
MGS_KubernetesImageInstallation
<Hardware Class="MGS_KubernetesImageInstallation"
Name="sha256:cc8fb77bc2a0541949d1d9320a641b82fd392b0d3d8145469ca4709ae769980e,
f97a7706-2890-4ac7-96ab-6d9405d81d1e" Evidence="OS API">
<Property Name="ImageID"
Value="sha256:cc8fb77bc2a0541949d1d9320a641b82fd392b0d3d8145469ca4709ae769980e"/>
<Property Name="Node" Value="f97a7706-2890-4ac7-96ab-6d9405d81d1e"/>
<Property Name="Installed" Value="2021-07-30T13:03:42.323598116Z"/>
</Hardware>
Field | Description |
---|---|
|
The unique ID of the image |
|
The UID of the node on which the image is installed |
|
The time at which the image was first observed to be installed on the node |
|
The time at which the image was observed to be absent from the node |
FlexNet Manager Suite (On-Premises)
2022 R2