Skip to content

Commit

Permalink
Add entryParser option to helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Sheehy <[email protected]>
  • Loading branch information
Steven Sheehy committed Mar 6, 2019
1 parent c366665 commit a915399
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions production/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: loki
version: 0.0.1
version: 0.1.0
appVersion: 0.0.1
kubeVersion: "^1.10.0-0"
description: "Loki: like Prometheus, but for logs."
Expand All @@ -10,4 +10,4 @@ sources:
maintainers:
- name: Loki Maintainers
email: [email protected]
engine: gotpl
engine: gotpl
4 changes: 3 additions & 1 deletion production/helm/templates/promtail/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ data:
promtail.yaml: |
scrape_configs:
- job_name: kubernetes-pods
entry_parser: {{ .Values.promtail.entryParser }}
kubernetes_sd_configs:
- role: pod
relabel_configs:
Expand Down Expand Up @@ -49,6 +50,7 @@ data:
- __meta_kubernetes_pod_container_name
target_label: __path__
- job_name: kubernetes-pods-app
entry_parser: {{ .Values.promtail.entryParser }}
kubernetes_sd_configs:
- role: pod
relabel_configs:
Expand Down Expand Up @@ -89,4 +91,4 @@ data:
source_labels:
- __meta_kubernetes_pod_uid
- __meta_kubernetes_pod_container_name
target_label: __path__
target_label: __path__
2 changes: 2 additions & 0 deletions production/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ promtail:
nameOverride: promtail
deploymentStrategy: RollingUpdate

entryParser: docker

image:
repository: grafana/promtail
tag: master
Expand Down

0 comments on commit a915399

Please sign in to comment.