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.
- Metrics Enabled in the values files for the following applications to allow Prometheus to track their performance:
- Jenkins (ref: https://github.com/Ohubabs/DB-Pipeline.git)
- SonarQube (ref: https://github.com/Ohubabs/DB-Sonarqube.git)
- MongoDB (ref: https://github.com/Ohubabs/DB-Mongo.git)
- Nginx-Ingress (ref: https://github.com/Ohubabs/DB-Pipeline.git)
- Prometheus
- Grafana
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.
- Edit the var.tf file with your Grafana credentials to be uploaded into the secret in prince.tf.
- If you change the name of the secret, it must be edited as well in the graf-values.yml file




















