Loki-Stack Helm Chart¶
Prerequisites¶
Make sure you have Helm installed.
Get Repo Info¶
See helm repo for command documentation.
Deploy Loki and Promtail to your cluster¶
Deploy with default config¶
Deploy in a custom namespace¶
Deploy with custom config¶
Deploy Loki and Fluent Bit to your cluster¶
helm upgrade --install loki grafana/loki-stack \
--set fluent-bit.enabled=true,promtail.enabled=false
Deploy Grafana to your cluster¶
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:
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/
.
Upgrade¶
Version >= 2.8.0¶
Provide support configurable datasource urls #1374
Version >= 2.7.0¶
Update promtail dependency to ^6.2.3 #1692
Version >=2.6.0¶
Bumped grafana 8.1.6->8.3.4 #1013