Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (24 loc) · 1.04 KB

About

Date : 23th Dec 2020
Author: Lionel Gurret
Description : Scrap Jenkins with Prometheus and display informations in Grafana

  • Install Jenkins in Minikube
  • Install Prometheus plugins in Jenkins
  • Add jobs in Jenkins
  • Install Prometheus in Minikube with Jenkins configured as target
  • Install Grafana with Prometheus as datasource and Jenkins public dashboard

Note : Inspired by https://medium.com/@eng.mohamed.m.saeed/monitoring-jenkins-with-grafana-and-prometheus-a7e037cbb376
and https://joostvdg.github.io/blogs/monitor-jenkins-on-k8s/introduction/
Thanks a lot guys you helped me a lot !

LinkedIn article related

TO COMPLETE

Prerequisites

This script is designed for Minikube !
(https://kubernetes.io/fr/docs/tutorials/hello-minikube/ - Click on Launch Terminal)

How to run the lab

git clone https://github.com/gurretl/labs.git
cd labs/Lab-12
./run.sh

  • Wait some time to let Jobs run and generate Metrics for Prometheus
  • Go to Grafana and look at this nice dashboard :)