prometheus for cluster monitoring; loki-stack for log correlation
This commit is contained in:
parent
50a46d874b
commit
a03e7b3b9d
26
README.md
26
README.md
@ -23,6 +23,8 @@
|
||||
* [Deploying a LE-certificate with ingress](#cert-manager-ingress)
|
||||
* [Deploying a LE-certificate by CRD](#cert-manager-crd)
|
||||
* [Troubleshooting](#cert-manager-troubleshooting)
|
||||
* [Cluster monitoring with Prometheus/Grafana](#prometheus-grafana)
|
||||
* [Log correlation with Loki-stack/Grafana](#loki-stack)
|
||||
* [HELM charts](#helm)
|
||||
* [Create a chart](#helm-create)
|
||||
* [Install local chart without packaging](#helm-install-without-packaging)
|
||||
@ -557,6 +559,30 @@ After successfull setup perform a TLS-test:
|
||||
* https://testssl.sh/ (`apt install testssl.sh`)
|
||||
* https://www.ssllabs.com/ssltest/index.html
|
||||
|
||||
# Cluster monitoring with Prometheus/Grafana <a name="user-content-prometheus-grafana"></a>
|
||||
```
|
||||
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
|
||||
helm repo update
|
||||
kubectl create ns prom
|
||||
helm install --namespace prom -f values.yaml prom-stack prometheus-community/kube-prometheus-stack
|
||||
|
||||
# access web ui at http://localhost:8080 OR configure an ingress instance
|
||||
kubectl -n prom port-forward service/prom-stack-grafana 8080:80
|
||||
```
|
||||
|
||||
# Log correlation with Loki-stack/Grafana <a name="user-content-loki-stack"></a>
|
||||
Docs: https://github.com/grafana/helm-charts/tree/main/charts/loki-stack
|
||||
```
|
||||
helm repo add grafana https://grafana.github.io/helm-charts
|
||||
helm repo update
|
||||
kubectl create ns loki-stack
|
||||
helm upgrade --install loki --namespace=loki-stack grafana/loki-stack --set grafana.enabled=true
|
||||
|
||||
# access web ui at http://localhost:8888 OR configure an ingress instance
|
||||
kubectl get secret -n loki-stack loki-grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
|
||||
kubectl -n loki-stack port-forward service/loki-grafana 8888:80
|
||||
```
|
||||
|
||||
# HELM charts <a name="user-content-helm"></a>
|
||||
Docs:
|
||||
* https://helm.sh/docs/intro/using_helm/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user