Enable tracing loki in helm chart (#496)

* Enable tracing loki in helm chart

Tracing support from #328, need to support config in helm chart

Signed-off-by: Xiang Dai <764524258@qq.com>

* Use camel case for variables

Signed-off-by: Xiang Dai <764524258@qq.com>

* update condition

Signed-off-by: Xiang Dai <764524258@qq.com>
pull/523/head
Xiang Dai 6 years ago committed by Cyril Tovena
parent 199746a130
commit 80fdece145
  1. 2
      production/helm/loki/Chart.yaml
  2. 3
      production/helm/loki/templates/deployment.yaml
  3. 7
      production/helm/loki/values.yaml

@ -1,5 +1,5 @@
name: loki
version: 0.7.0
version: 0.7.1
appVersion: 0.0.1
kubeVersion: "^1.10.0-0"
description: "Loki: like Prometheus, but for logs."

@ -69,6 +69,9 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:
readOnlyRootFilesystem: true
env:
- name: JAEGER_AGENT_HOST
value: "{{ .Values.tracing.jaegerAgentHost }}"
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
affinity:

@ -14,8 +14,13 @@ affinity: {}
## Deployment annotations
annotations: {}
# enable tracing for debug, need install jaeger and specify right jaeger_agent_host
tracing:
jaegerAgentHost:
config:
auth_enabled: false
ingester:
chunk_idle_period: 15m
lifecycler:
@ -128,7 +133,7 @@ securityContext:
service:
type: ClusterIP
nodePort:
nodePort:
port: 3100
annotations: {}
labels: {}

Loading…
Cancel
Save