Loki: add loki failed return 502 in grafana

Created on 26 Jan 2019  路  6Comments  路  Source: grafana/loki

When install loki with helm, put grafana and loki in same namespace, add http://loki:3100 and return error BAD GAYWAY 502

All 6 comments

test   grafana                NodePort    10.97.178.144    <none>        3000:30000/TCP   3h
test   loki                   ClusterIP   10.103.107.235   <none>        3100/TCP         1h

grafana log:

{"log":"t=2019-01-26T05:59:30+0000 lvl=info msg=\"Request Completed\" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/datasources/proxy/2/api/prom/label status=502 remote_addr=10.150.7.178 time_ms=6 size=0 referer=http://10.150.7.178:30000/datasources/edit/2/\n","stream":"stdout","time":"2019-01-26T05:59:30.238598844Z"}
{"log":"2019/01/26 06:07:42 http: proxy error: dial tcp 10.96.127.230:3000: connect: no route to host\n","stream":"stderr","time":"2019-01-26T06:07:42.313212764Z"}

all version are master.

switch loki service as nodePort works

Nice work check this out http://www.thelearner.in/category/books/ you may find it cool

The reason is that i do below change:

serviceAccount:
  create: false
  name: default 

241

Nice work check this out http://www.thelearner.in/category/books/ you may find it cool

Parking domain.

Was this page helpful?
0 / 5 - 0 ratings