Skip to content

Kubernetes agent

Zenoss Cloud uses the data collected by the Zenoss agent for Kubernetes to create separate entities for each unique node, pod, container, and namespace in a cluster, and one entity for the cluster itself. To find a cluster in a dashboard scope query or Smart View query, enter the cluster name that you specified when you deployed the agent.

Entity relationships

The model data that the Zenoss agent for Kubernetes sends to Zenoss Cloud includes entity relationships. The following diagram illustrates the relationships:

The arrows show which objects affect other objects. The relationships are used to populate the related entities area in Smart View.

The following list replicates the diagram in text:

  • Nodes affect pods and the cluster.
  • The cluster affects namespaces.
  • Namespaces and containers affect pods.

Metric data

All the metrics that the Zenoss agent for Kubernetes sends to Zenoss Cloud are gauges.

Metric Units
k8s.cluster.nodes.total integer
k8s.cluster.pods.total integer
k8s.cluster.containers.total integer
k8s.cluster.cpu.ms millisecond
k8s.cluster.memory.bytes byte

The value is the sum of the same metrics for all containers in the cluster.

Metric Units
k8s.node.cpu.ms millisecond
k8s.node.memory.bytes byte
Metric Units
k8s.namespace.pods.total integer
k8s.namespace.containers.total integer
k8s.namespace.cpu.ms millisecond
k8s.namespace.memory.bytes byte

The value is the sum of the same metrics for all containers in the namespace.

Metric Units
k8s.pod.containers.total integer
k8s.pod.cpu.ms millisecond
k8s.pod.memory.bytes byte

The value is the sum of the same metrics for all containers in the pod.

Metric Units
k8s.container.cpu.ms millisecond
k8s.container.memory.bytes byte