Skip to content

Deploy Cluster/Application Monitoring tools: Prometheus and Grafana into the DB cluster using Jenkins, Terraform, Kubernetes, and Helm Charts

Notifications You must be signed in to change notification settings

Ohubabs/DB-Performance

Repository files navigation

DB-Monitor

DragonBall Project Part 7

Project Objective

For this project, you are to setup a pipeline to deploy Cluster/Application Monitoring tools: Prometheus, and Grafana into the DB cluster using Terraform with the Kubernetes and Helm Providers.

Prerequisites

Monitoring Pipeline 7

Step 1: Go to New Item” from the Dashboard, select “Pipeline”, name it “Prometheus_Grafana”.

Screenshot 2024-06-24 at 2 59 58 PM

Step 2: Go to “Configuration”, Select “Poll SCM” and Enter the details for your GitHub repo & Jenkinsfile or copy and paste the Jenkinsfile_Monitor in this repo.

image

Notes :-

  • Edit the var.tf file with your Grafana credentials to be uploaded into the secret in prince.tf.

Screenshot 2024-10-08 at 12 41 42 PM

Screenshot 2024-10-08 at 12 35 09 PM

  • If you change the name of the secret, it must be edited as well in the graf-values.yml file

image

Step 3: Click “Build now” to deploy Cluster/Application Monitoring tools: Prometheus, and Grafana into the DB cluster .

Screenshot 2024-06-24 at 4 06 53 PM

Screenshot 2024-06-24 at 3 55 20 PM

Screenshot 2024-06-24 at 3 55 25 PM

Screenshot 2024-06-24 at 3 55 33 PM

Screenshot 2024-06-24 at 4 19 02 PM

Step 4: Once your Prometheus and Grafana sites are live, log into Grafana, set Prometheus as a data source, and gain performance stats from apps running in the cluster e.g Jenkins, SonarQube, etc...

Screenshot 2024-06-24 at 7 26 34 PM

Screenshot 2024-06-24 at 7 26 41 PM

Screenshot 2024-06-24 at 7 26 44 PM

Screenshot 2024-06-24 at 7 26 53 PM

Screenshot 2024-06-24 at 7 26 58 PM

Screenshot 2024-06-24 at 7 27 03 PM

Screenshot 2024-06-24 at 7 27 38 PM

Screenshot 2024-06-24 at 7 31 06 PM

Screenshot 2024-06-24 at 7 32 06 PM

Screenshot 2024-06-24 at 7 32 47 PM

Screenshot 2024-06-25 at 6 40 52 PM

About

Deploy Cluster/Application Monitoring tools: Prometheus and Grafana into the DB cluster using Jenkins, Terraform, Kubernetes, and Helm Charts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages