Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
ON THIS PAGE
 

Identify Kubernetes Cluster Health Issues

Problem

You are unable to identify issues related to Kubernetes cluster health.

Solution

The third-party kube-state-metrics monitoring service generates metrics based on the current state of Kubernetes clusters. The kube-state-metrics service is a beta-only feature that runs as a cluster service and is installed automatically when you install Paragon Automation. Once this service is installed, you can enable this service to generate, monitor, and expose metrics of various objects within a Kubernetes cluster.

To enable kube-state-metrics from the Paragon Automation UI:

  1. Create an unmanaged device.

    The unmanaged device represents the cluster. The device hostname must be the kube-state-metrics service IP. For example, the hostname could be kube-state-metrics.healthbot.svc.cluster.local.

  2. Add the device to a device group.

  3. Create rules.

  4. Apply playbooks to the device group.

After you have enabled kube-state-metrics, you can view metrics on pods, DaemonSets, deployments, persistent volume, endpoints, ingress, job, lease, and configmap objects that are part of a Kubernetes cluster. For more information, see Understand kube-state-metrics Service.

To view metrics:

  1. Navigate to the Monitoring > Network Health page.

  2. On the Network Health page, click the Device Group entity type, and select the new unmanaged device from the Devices drop-down list.

A tile view and table view of the results are displayed after a few minutes.