![]() |
vor 2 Jahren | |
---|---|---|
.. | ||
charts | vor 2 Jahren | |
templates | vor 2 Jahren | |
.helmignore | vor 3 Jahren | |
Chart.yaml | vor 2 Jahren | |
README.md | vor 2 Jahren | |
requirements.lock | vor 2 Jahren | |
requirements.yaml | vor 2 Jahren | |
values.yaml | vor 2 Jahren |
Make sure you have Helm installed.
helm repo add grafana https://grafana.github.io/helm-charts
helm repo update
_See helm repo for command documentation._
helm upgrade --install loki grafana/loki-stack
helm upgrade --install loki --namespace=loki-stack grafana/loki-stack
helm upgrade --install loki grafana/loki-stack --set "key1=val1,key2=val2,..."
helm upgrade --install loki grafana/loki-stack \
--set fluent-bit.enabled=true,promtail.enabled=false
The chart loki-stack contains a pre-configured Grafana, simply use --set grafana.enabled=true
To get the admin password for the Grafana pod, run the following command:
kubectl get secret --namespace <YOUR-NAMESPACE> loki-grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
To access the Grafana UI, run the following command:
kubectl port-forward --namespace <YOUR-NAMESPACE> service/loki-grafana 3000:80
Navigate to http://localhost:3000 and login with admin
and the password output above.
Then follow the instructions for adding the loki datasource, using the URL http://loki:3100/
.
Provide support configurable datasource urls #1374
Update promtail dependency to ^6.2.3 #1692
Bumped grafana 8.1.6->8.3.4 #1013