Skip to content

xchem/longhorn-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Installation of monitoring for Longhorn

Pre-requisites

  1. K8S cluster with Rancher monitoring installed (K8S v1.23.16)
  2. Longhorn installed (v1.3.3)

Deploy Longhorn Service Monitor

kubectl create -f service-monitor.yaml

After this you should see this Prometheus target:

  • longhorn-system/longhorn-prometheus-servicemonitor

Deploy Grafana dashboard

  1. Log in to Grafana (username/password is in the rancher-monitoring-grafana secret).
  2. From the Grafana menu choose Dashboards, then Import.
  3. Paste the dashboard ID and load it. Specify to use the Prometheus datasource.

The dashboard can be found here and it's ID copied from that page.

Once done, you should see a dashboard named something like Longhorn v1.1.0.

Deploy alerts

kubectl create -f alerts.yaml

This is based on this. Only the namespace was changed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published