prometheus installation

This commit is contained in:
Dominik Chilla 2022-10-01 21:58:17 +00:00
parent 5f0f4c9d2f
commit 7be825fe9d

View File

@ -563,8 +563,12 @@ After successfull setup perform a TLS-test:
```
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
kubectl create ns prom-stack
# download values file for prometheus helm chart and replace any occurence of %MASTER_NODE_IPV4_ADDR% with IPv4 address of your cluster master node
wget https://gitea.zwackl.de/dominik/k3s/raw/branch/master/prometheus-values.yaml
helm install --namespace prom-stack -f prometheus-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