Kubernetes Monitoring dashboard (with Prometheus)

This article describes how to download a specific dashboard pack. You can download dashboard packs from dashboards.squaredup.com and learn more about how dashboard packs work here: Dashboard Packs

Description

This dashboard visualizes the performance of a Kubernetes cluster by getting metrics from Prometheus using PromQL in the Web API and PowerShell tiles.

  • Basic cluster information displayed in a grid
  • Network traffic sent and received for the cluster
  • CPU, memory and disk utilization for the cluster
  • CPU, memory and disk used by each node in the cluster

The tiles on this dashboard automatically adjust the queries to Prometheus based of the page time frame being selected. The Rate and Step variables are handled in the PowerShell profile and can be amended as required.

How do I import and configure this dashboard?

  1. Ensure you're using SquaredUp DS v5.4 or above.

    Already a SquaredUp customer?

    Get the latest version of SquaredUp DS for Azure

    New to SquaredUp?

    Try it for free

  2. Create a Web API provider to connect with Prometheus.
    Use the following settings:
    Type
    Basic Auth
    Name
    Prometheus

    Note: The name is case-sensitive and must be entered exactly like given here for the tiles to recognize the provider automatically. If you name it differently, you will need to select the provider manually for each tile on the dashboard.

    URL
    URL of your Prometheus instance API endpoint, for example https://<your-prometheus-url/api/v1/
    Username and password
    Enter the credentials for your Prometheus environment
  3. Create a PowerShell profile in SquaredUp DS with the following settings:
    Name
    Prometheus

    Note: The name is case-sensitive and must be entered exactly as given here for the tiles to recognize the profile automatically. If you name it differently, you will need to select the profile manually for each tile on the dashboard.

    Description
    Sets the Prometheus API endpoint, changes step and rate values based on the timeframe of the page, and gets the page timeframe start and end.
    Script
    Copy and paste the script below, replacing <your-prometheus-url> with your Prometheus instance API endpoint. Modify the PowerShell profile to handle the authentication method required by your deployment of Prometheus.
  4. Download and import this dashboard pack.

Was this article helpful?


Have more questions or facing an issue?