Kubernetes connector
Zenoss Cloud provides a ready-made connector for your Kubernetes platform. After you set up the Kubernetes connector, you can monitor metrics for your Kubernetes platform.
Before you begin
As a best practice before setting up your connector, check that your service allows the source IP address from which to expect connections. See Before setting up your connectors for the list of IP addresses and more information.
Set up a Kubernetes connector
Perform the following steps to set up a Kubernetes connector.
Note
Your account must be assigned the Manager role to create and manage connectors.
-
Log in to Zenoss Cloud as a user with the Manager role, and then open the ADMIN > Connectors page.
-
On the the Kubernetes card in the Container Orchestration area, click ADD.
-
In the Kubernetes details area, enter general information about your Kubernetes connector.
-
In the Kubernetes Name field, enter a unique name.
The name you choose is used as the source name for the data Zenoss Cloud collects.
-
(Optional) In the Description field, enter text to associate with your Kubernetes connector.
-
Leave the Connector type field unchanged (Kubernetes).
-
(Optional) In the Tags field, enter one or more terms to associate with your Kubernetes connector.
-
-
In the Kubernetes configurations section, set an optional collection interval, then select an existing credential or create a new one.
-
Set the Collection interval. The default setting is 5 minutes.
-
From the Credential list, select an existing credential or create a new one. When you choose Create new credential, the dialog box expands to include fields for creating a new credential for Kubernetes.
For more information about creating a new credential, see Add Kubernetes credentials.
-
-
Click SAVE.
To view the metrics Zenoss Cloud collects, copy a template or create a new dashboard.
Kubernetes metric data
You can configure many of the metrics that Zenoss Cloud collects for Kubernetes as tiles in Dashboards.
Cluster metrics
Metric | Units | Metric type |
---|---|---|
k8s.cluster.nodes.total | integer | gauge |
k8s.cluster.pods.total | integer | gauge |
k8s.cluster.containers.total | integer | gauge |
k8s.cluster.cpu.ms† | millisecond | gauge |
k8s.cluster.memory.bytes† | byte | gauge |
† The value is the sum of the same metrics for all containers in the cluster. |
Node metrics
Metric | Units | Metric type |
---|---|---|
k8s.node.cpu.ms | millisecond | gauge |
k8s.node.memory.bytes | byte | gauge |
Namespace metrics
Metric | Units | Metric type |
---|---|---|
k8s.namespace.pods.total | integer | gauge |
k8s.namespace.containers.total | integer | gauge |
k8s.namespace.cpu.ms† | millisecond | gauge |
k8s.namespace.memory.bytes† | byte | gauge |
† The value is the sum of the same metrics for all containers in the namespace. |
Pod metrics
Metric | Units | Metric type |
---|---|---|
k8s.pod.containers.total | integer | gauge |
k8s.pod.cpu.ms† | millisecond | gauge |
k8s.pod.memory.bytes† | byte | gauge |
† The value is the sum of the same metrics for all containers in the pod. |
Container metrics
Metric | Units | Metric type |
---|---|---|
k8s.container.cpu.ms | millisecond | gauge |
k8s.container.memory.bytes | byte | gauge |