set promtail loki service

This commit is contained in:
Tobias Brunner 2020-02-26 21:19:51 +01:00
parent f9b9fc3717
commit b0885fe756
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@ build:
--set persistence.enabled=true \
> loki.yaml
helm3 template promtail --namespace=loki loki/promtail \
--set loki.serviceName=loki \
> promtail.yaml
.PHONY: build

View file

@ -433,7 +433,7 @@ spec:
imagePullPolicy: IfNotPresent
args:
- "-config.file=/etc/promtail/promtail.yaml"
- "-client.url=http://promtail-loki:3100/loki/api/v1/push"
- "-client.url=http://loki:3100/loki/api/v1/push"
volumeMounts:
- name: config
mountPath: /etc/promtail