values.yaml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. # -- Overrides the chart's name
  2. nameOverride: ""
  3. # -- Overrides the chart's computed fullname
  4. fullnameOverride: ""
  5. # -- Define the amount of instances
  6. replicas: 1
  7. # -- Annotations for the StatefulSet
  8. annotations: {}
  9. tempo:
  10. repository: grafana/tempo
  11. tag: 2.0.1
  12. pullPolicy: IfNotPresent
  13. ## Optionally specify an array of imagePullSecrets.
  14. ## Secrets must be manually created in the namespace.
  15. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  16. ##
  17. # pullSecrets:
  18. # - myRegistryKeySecretName
  19. updateStrategy: RollingUpdate
  20. resources: {}
  21. # requests:
  22. # cpu: 1000m
  23. # memory: 4Gi
  24. # limits:
  25. # cpu: 2000m
  26. # memory: 6Gi
  27. memBallastSizeMbs: 1024
  28. multitenancyEnabled: false
  29. # -- If true, Tempo will report anonymous usage data about the shape of a deployment to Grafana Labs
  30. reportingEnabled: false
  31. metricsGenerator:
  32. # -- If true, enables Tempo's metrics generator (https://grafana.com/docs/tempo/next/metrics-generator/)
  33. enabled: true
  34. remoteWriteUrl: "http://prometheus-server.observe.svc.cluster.local:80/api/v1/write"
  35. # -- Configuration options for the ingester
  36. ingester: {}
  37. # -- Configuration options for the querier
  38. querier: {}
  39. # -- Configuration options for the query-fronted
  40. queryFrontend: {}
  41. retention: 1024h
  42. # Global overrides
  43. global_overrides:
  44. per_tenant_override_config: /conf/overrides.yaml
  45. overrides: {}
  46. # Tempo server configuration
  47. # Refers to https://grafana.com/docs/tempo/latest/configuration/#server
  48. server:
  49. # -- HTTP server listen port
  50. http_listen_port: 3100
  51. storage:
  52. trace:
  53. # tempo storage backend
  54. # refer https://grafana.com/docs/tempo/latest/configuration/
  55. ## Use s3 for example
  56. # backend: s3
  57. # store traces in s3
  58. # s3:
  59. # bucket: tempo # store traces in this bucket
  60. # endpoint: s3.dualstack.us-east-2.amazonaws.com # api endpoint
  61. # access_key: ... # optional. access key when using static credentials.
  62. # secret_key: ... # optional. secret key when using static credentials.
  63. # insecure: false # optional. enable if endpoint is http
  64. backend: local
  65. local:
  66. path: /var/tempo/traces
  67. wal:
  68. path: /var/tempo/wal
  69. # this configuration will listen on all ports and protocols that tempo is capable of.
  70. # the receives all come from the OpenTelemetry collector. more configuration information can
  71. # be found there: https://github.com/open-telemetry/opentelemetry-collector/tree/master/receiver
  72. receivers:
  73. #jaeger:
  74. # protocols:
  75. # grpc:
  76. # endpoint: 0.0.0.0:14250
  77. # thrift_binary:
  78. # endpoint: 0.0.0.0:6832
  79. # thrift_compact:
  80. # endpoint: 0.0.0.0:6831
  81. # thrift_http:
  82. # endpoint: 0.0.0.0:14268
  83. #opencensus:
  84. otlp:
  85. protocols:
  86. grpc:
  87. endpoint: "0.0.0.0:4317"
  88. http:
  89. endpoint: "0.0.0.0:4318"
  90. securityContext: {}
  91. # allowPrivilegeEscalation: false
  92. # capabilities:
  93. # drop:
  94. # - ALL
  95. # readOnlyRootFilesystem: true
  96. ## Additional container arguments
  97. extraArgs:
  98. distributor.log-received-traces: true
  99. # -- Environment variables to add
  100. extraEnv: []
  101. # -- Environment variables from secrets or configmaps to add to the ingester pods
  102. extraEnvFrom: []
  103. # -- Volume mounts to add
  104. extraVolumeMounts: []
  105. # - name: extra-volume
  106. # mountPath: /mnt/volume
  107. # readOnly: true
  108. # existingClaim: volume-claim
  109. # -- Tempo configuration file contents
  110. # @default -- Dynamically generated tempo configmap
  111. config: |
  112. multitenancy_enabled: {{ .Values.tempo.multitenancyEnabled }}
  113. usage_report:
  114. reporting_enabled: {{ .Values.tempo.reportingEnabled }}
  115. compactor:
  116. compaction:
  117. block_retention: {{ .Values.tempo.retention }}
  118. distributor:
  119. receivers:
  120. {{- toYaml .Values.tempo.receivers | nindent 8 }}
  121. ingester:
  122. {{- toYaml .Values.tempo.ingester | nindent 6 }}
  123. server:
  124. {{- toYaml .Values.tempo.server | nindent 6 }}
  125. storage:
  126. {{- toYaml .Values.tempo.storage | nindent 6 }}
  127. querier:
  128. {{- toYaml .Values.tempo.querier | nindent 6 }}
  129. query_frontend:
  130. {{- toYaml .Values.tempo.queryFrontend | nindent 6 }}
  131. overrides:
  132. {{- toYaml .Values.tempo.global_overrides | nindent 6 }}
  133. {{- if .Values.tempo.metricsGenerator.enabled }}
  134. metrics_generator_processors:
  135. - 'service-graphs'
  136. - 'span-metrics'
  137. max_search_bytes_per_trace: 0
  138. metrics_generator:
  139. storage:
  140. path: "/tmp/tempo"
  141. remote_write:
  142. - url: {{ .Values.tempo.metricsGenerator.remoteWriteUrl }}
  143. {{- end }}
  144. tempoQuery:
  145. repository: grafana/tempo-query
  146. tag: 2.0.1
  147. pullPolicy: IfNotPresent
  148. ## Optionally specify an array of imagePullSecrets.
  149. ## Secrets must be manually created in the namespace.
  150. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  151. ##
  152. # pullSecrets:
  153. # - myRegistryKeySecretName
  154. # -- if False the tempo-query container is not deployed
  155. enabled: true
  156. service:
  157. port: 16686
  158. ingress:
  159. enabled: false
  160. # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
  161. # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
  162. # ingressClassName: nginx
  163. # Values can be templated
  164. annotations: {}
  165. # kubernetes.io/ingress.class: nginx
  166. # kubernetes.io/tls-acme: "true"
  167. labels: {}
  168. path: /
  169. # pathType is only for k8s >= 1.1=
  170. pathType: Prefix
  171. hosts:
  172. - query.tempo.example.com
  173. ## Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
  174. extraPaths: []
  175. # - path: /*
  176. # backend:
  177. # serviceName: ssl-redirect
  178. # servicePort: use-annotation
  179. ## Or for k8s > 1.19
  180. # - path: /*
  181. # pathType: Prefix
  182. # backend:
  183. # service:
  184. # name: ssl-redirect
  185. # port:
  186. # name: use-annotation
  187. tls: []
  188. # - secretName: tempo-query-tls
  189. # hosts:
  190. # - query.tempo.example.com
  191. resources: {}
  192. # requests:
  193. # cpu: 1000m
  194. # memory: 4Gi
  195. # limits:
  196. # cpu: 2000m
  197. # memory: 6Gi
  198. ## Additional container arguments
  199. extraArgs: {}
  200. # -- Environment variables to add
  201. extraEnv: []
  202. # -- Volume mounts to add
  203. extraVolumeMounts: []
  204. # - name: extra-volume
  205. # mountPath: /mnt/volume
  206. # readOnly: true
  207. # existingClaim: volume-claim
  208. securityContext: {}
  209. # allowPrivilegeEscalation: false
  210. # capabilities:
  211. # drop:
  212. # - ALL
  213. # readOnlyRootFilesystem: false # fails if true, do not enable
  214. # -- securityContext for container
  215. securityContext: {}
  216. # runAsUser: 65532
  217. # runAsGroup: 65532
  218. # fsGroup: 65532
  219. # runAsNonRoot: true
  220. serviceAccount:
  221. # -- Specifies whether a ServiceAccount should be created
  222. create: true
  223. # -- The name of the ServiceAccount to use.
  224. # If not set and create is true, a name is generated using the fullname template
  225. name: null
  226. # -- Image pull secrets for the service account
  227. imagePullSecrets: []
  228. # -- Annotations for the service account
  229. annotations: {}
  230. # -- Labels for the service account
  231. labels: {}
  232. automountServiceAccountToken: true
  233. service:
  234. type: ClusterIP
  235. annotations: {}
  236. labels: {}
  237. serviceMonitor:
  238. enabled: false
  239. interval: ""
  240. additionalLabels: {}
  241. annotations: {}
  242. # scrapeTimeout: 10s
  243. persistence:
  244. enabled: true
  245. storageClassName: openebs-hostpath
  246. accessModes:
  247. - ReadWriteOnce
  248. size: 10Gi
  249. # -- Pod Annotations
  250. podAnnotations: {}
  251. # -- Pod (extra) Labels
  252. podLabels: {}
  253. # -- Volumes to add
  254. extraVolumes: []
  255. # -- Node labels for pod assignment. See: https://kubernetes.io/docs/user-guide/node-selection/
  256. nodeSelector: {}
  257. # -- Tolerations for pod assignment. See: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  258. tolerations: []
  259. # -- Affinity for pod assignment. See: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  260. affinity: {}
  261. # -- The name of the PriorityClass
  262. priorityClassName: null