Abstract
Values for the official Loki Helm Chart.
Loki Helm Chart Values#
Usage#
Create a namespace.
kubectl create ns loki
Update the values.
Deploy the service.
helm -n loki upgrade --install --force loki grafana/loki -f values.yaml
Create some test data.
echo "{\"streams\": [{\"stream\": {\"job\": \"test\"}, \"values\": [[\"$(date +%s)000000000\", \"fizzbuzz\"]]}]}" > data.json
Run a test pod.
kubectl run -n loki -it --image alpine:latest loki-test -- sh --- apk add httpie
Test the service.
http post http://loki-gateway.loki.svc.cluster.local/loki/api/v1/push \ 'Content-Type:application/json' 'X-Scope-OrgId:foo' < data.json