The repository is deprecated. The successor is glaciation-heu/monitoring-stack.
-
Install helm-docs.
-
Pre-commit hook install the pre-commit binary. Then run:
pre-commit install pre-commit install-hooks
-
Install Helm. Please refer to Helm's documentation to get started.
Install dependency helm chart monitoring platform this will install prometheus, grafana, influxdb helm chart. These charts are defined in Chart.yaml file
helm dependency update ./monitoring-stack
helm dependency build ./monitoring-stack
Helm must be installed to use Monitoring Platform. Please refer to Helm's documentation to get started.
Add helm repo:
helm repo add monitoring-charts https://hiro-microdatacenters-bv.github.io/monitoring-stack/helm-charts
Get values yaml file and customize it for your environment:
helm show values monitoring-charts/monitoring-stack > values.yaml
Install the monitoring stack:
helm install ms monitoring-charts/monitoring-stack --values ./values.yaml
port forward prometheus server service
kubectl port-forward svc/<release name>-prometheus-server 8080:80
port forward grafana service
kubectl port-forward service/<release name>-grafana 3000:80
Get grafana password
kubectl get secret <release name>-grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo