set promtail loki service
This commit is contained in:
parent
f9b9fc3717
commit
b0885fe756
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue