NAME: loki LAST DEPLOYED: Tue Apr 14 05:55:31 2026 NAMESPACE: monitoring STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: *********************************************************************** Welcome to Grafana Loki Chart version: 6.6.3 Chart Name: loki Loki version: 3.0.0 *********************************************************************** ** Please be patient while the chart is being deployed ** Tip: Watch the deployment status using the command: kubectl get pods -w --namespace monitoring If pods are taking too long to schedule make sure pod affinity can be fulfilled in the current cluster. *********************************************************************** Installed components: *********************************************************************** * loki Loki has been deployed as a single binary. This means a single pod is handling reads and writes. You can scale that pod vertically by adding more CPU and memory resources. *********************************************************************** Sending logs to Loki *********************************************************************** Loki has been configured with a gateway (nginx) to support reads and writes from a single component. You can send logs from inside the cluster using the cluster DNS: http://loki-gateway.monitoring.svc.cluster.local/loki/api/v1/push You can test to send data from outside the cluster by port-forwarding the gateway to your local machine: kubectl port-forward --namespace monitoring svc/loki-gateway 3100:80 & And then using http://127.0.0.1:3100/loki/api/v1/push URL as shown below: ``` curl -H "Content-Type: application/json" -XPOST -s "http://127.0.0.1:3100/loki/api/v1/push" \ --data-raw "{\"streams\": [{\"stream\": {\"job\": \"test\"}, \"values\": [[\"$(date +%s)000000000\", \"fizzbuzz\"]]}]}" ``` Then verify that Loki did received the data using the following command: ``` curl "http://127.0.0.1:3100/loki/api/v1/query_range" --data-urlencode 'query={job="test"}' | jq .data.result ``` *********************************************************************** Connecting Grafana to Loki *********************************************************************** If Grafana operates within the cluster, you'll set up a new Loki datasource by utilizing the following URL: http://loki-gateway.monitoring.svc.cluster.local/