Configuration files for setting up prometheus monitoring on Kubernetes cluster.
You can find the full tutorial from here https://devopscube.com/setup-prometheus-monitoring-on-kubernetes/
- After bringing up your kubernetescluster with contrail
- gitclone https://github.com/pvijayaragav/contrail-prometheus.git
- Then do following :
•Kubectl create ns monitoring
•Kubectl create –f clusterRole.yaml–n monitoring
•Kubectl create –f prometheus-deployment.yaml–n monitoring
•Kubectl create –f prometheus-service.yaml–n monitoring
•Kubectl create –f config-map.yaml–n monitoring
- Now go to browser and access prometheususing nodeport
•Ex: http://<nodeip>:30000/