Monitoring overview

Overview

This document covers the main aspects of the Kublr Monitoring feature.

How does Kublr Monitoring work?

The Kublr Centralized Monitoring feature is built on top of Prometheus and Grafana. Each Kublr Platform-managed Cluster is registered as metrics source in Prometheus. Kubernetes provides cloud, hardware, OS, kubernetes, and applications metrics using Kubernetes API from each cluster respectively. Kublr manages a list of the metrics sources in the Prometheus. Grafana is integrated with the Kublr Control Plane with a single-sign on interface. A centralized monitoring component is deployed to the Kublr Platform as the helm package.

Create platform with Kublr centralized monitoring

To create a new platform with the Kublr centralized monitoring:

  1. Access your Kublr Demo/Installer instance.

  2. On the left menu, click Clusters.

  3. Click Add Cluster. Add New Cluster The Select Installation Type dialog is displayed.

  4. In the Select Installation Type dialog, select Platform.

    NOTE Centralized Monitoring is always enabled when creating a platform.

  5. Click Continue Setup.

  6. Select your provider.

  7. Fill the necessary parameters (e.g. Full Kublr Platform Credentials).

  8. Select Instance Type for Nodes more than default, for example t2.2xlarge for AWS or Standard_A8_v2 for Azure.

    Set parameters

Once the platform is created, log in with Full Kublr Platform Credentials and go to the Centralized Monitoring tab.

Centralized monitoring

Now you can open Grafana, Prometheus or Alert Manager. Please, refer to the Kublr General Architecture Overview for more details about Centralized Monitoring architecture.

Create cluster with self-hosted monitoring

In some cases, self-hosted (per cluster) monitoring is required. To do that:

  1. Access your Kublr platform.

  2. On the left menu, click Clusters.

  3. Click Add Cluster. The add cluster dialog is displayed.

  4. In the add cluster dialog, go to the FEATURES step.

  5. Scroll down and select the Self-Hosted Monitoring option. The Prometheus, Grafana, and Alert Manager components are selected by default. Persistence is enabled for each of them with the default disc sizes for each.

    Add monitoring

  6. If necessary, change any of the default values to your needs.

  7. Specify other cluster parameters and create it.

Open Grafana, Prometheus or Alert Manager

For the clusters with self-hosted monitoring, you can use links on the Cluster Overview page to log into Grafana, Prometheus and Alert Manager. By default, Prometheus and Alert Manager do not require authentication, but Grafana requires username and password.

See also at Kublr support portal: Self-hosted logging/monitoring: How to protect with keycloak

Add monitoring
To find Grafana username and password:

  1. Click Open Dashboard.

  2. Find Grafana pod (namespace: kublr).

  3. From Environment Variables, copy the user name and the password.

    Overview

See also

This documentation:

Kublr support portal: