Skip to content

Kubernetes orchestrated container system for monitoring live automation results as a time series using Helm Chart

Notifications You must be signed in to change notification settings

prashanth-sams/live-automation-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Live Automation Dashboard

A single dashboard to monitor live automation results as a time series using Prometheus & Grafana

Dashboard

Create namespace; say, monitoring

kubectl create namespace monitoring

Grafana

cd grafana/
helm install --name grafana . --namespace monitoring

helm3 install grafana . -n monitoring

Access grafana service

By default, the credentials are defined in this chart

username: admin
password: admin

In-case if you remove password, you can retrieve it from,

kubectl get secret --namespace monitoring grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo

Port forward Grafana

kubectl --namespace monitoring port-forward $(kubectl get pods -n monitoring | grep 'grafana' | awk '{print$1}') 3000

Grafana access URL: http://localhost:3030/

Prometheus

cd prometheus/
helm install --name prometheus . --namespace monitoring

helm3 install dashboard . -n monitoring

Port forward Prometheus server

kubectl --namespace monitoring port-forward $(kubectl get pods -n monitoring -l "app=prometheus,component=server" -o jsonpath="{.items[0].metadata.name}") 9090
kubectl --namespace monitoring port-forward $(kubectl get pods -n monitoring | grep 'server' | awk '{print$1}') 9090

Prometheus access URL: http://localhost:9090/

Port forward PushGateway

kubectl --namespace monitoring port-forward $(kubectl get pods -n monitoring -l "app=prometheus,component=pushgateway" -o jsonpath="{.items[0].metadata.name}") 9091
kubectl --namespace monitoring port-forward $(kubectl get pods -n monitoring | grep 'pushgateway' | awk '{print$1}') 9091

PushGateway access URL: http://localhost:9091/

Port forward Alertmanager

kubectl --namespace monitoring port-forward $(kubectl get pods --namespace monitoring -l "app=prometheus,component=alertmanager" -o jsonpath="{.items[0].metadata.name}") 9093

Alertmanager access URL: http://localhost:9093/

Frequently used commands:

kubectl get pods -n monitoring -o wide
kubectl get svc -n monitoring

helm delete grafana -n monitoring
helm3 del grafana -n monitoring
helm3 del dashboard -n monitoring

helm del $(helm ls --all | grep 'DELETED' | awk '{print $1}') --purge

About

Kubernetes orchestrated container system for monitoring live automation results as a time series using Helm Chart

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages