Change promtail labels to arg

This commit is contained in:
Marcus Noble 2021-06-14 14:59:01 +01:00
parent 85569644f2
commit bc30ffa753

View File

@ -56,8 +56,6 @@ data:
batchwait: 1s batchwait: 1s
external_labels: {} external_labels: {}
timeout: 10s timeout: 10s
external_labels:
kubernetes_cluster: scaleway
positions: positions:
filename: /run/promtail/positions.yaml filename: /run/promtail/positions.yaml
server: server:
@ -399,6 +397,7 @@ spec:
args: args:
- "-config.file=/etc/promtail/promtail.yaml" - "-config.file=/etc/promtail/promtail.yaml"
- "-client.url=http://loki.inlets.svc:80/loki/api/v1/push" - "-client.url=http://loki.inlets.svc:80/loki/api/v1/push"
- "-client.external-labels=kubernetes_cluster=scaleway"
volumeMounts: volumeMounts:
- name: config - name: config
mountPath: /etc/promtail mountPath: /etc/promtail