-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
Copy pathvalues.yaml
executable file
·2378 lines (2259 loc) · 96.8 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
global:
image:
# -- Overrides the Docker registry globally for all images, excluding enterprise.
registry: docker.io
# -- Optional list of imagePullSecrets for all images, excluding enterprise.
# Names of existing secrets with private container registry credentials.
# Ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
# Example:
# pullSecrets: [ my-dockerconfigjson-secret ]
pullSecrets: []
# -- Overrides the priorityClassName for all pods
priorityClassName: null
# -- configures cluster domain ("cluster.local" by default)
clusterDomain: 'cluster.local'
# -- configures DNS service name
dnsService: 'kube-dns'
# -- configures DNS service namespace
dnsNamespace: 'kube-system'
# -- Common environment variables to add to all pods directly managed by this chart.
# scope: admin-api, compactor, distributor, enterprise-federation-frontend, gateway, ingester, memcached, metrics-generator, querier, query-frontend, tokengen
extraEnv: []
# -- Global storage class to be used for persisted components
storageClass: null
fullnameOverride: ''
# fullnameOverride: tempo
# -- Configuration is loaded from the secret called 'externalConfigSecretName'.
# If 'useExternalConfig' is true, then the configuration is not generated, just
# consumed. Top level keys for `tempo.yaml` and `overrides.yaml` are to be
# provided by the user.
useExternalConfig: false
# -- Defines what kind of object stores the configuration, a ConfigMap or a Secret.
# In order to move sensitive information (such as credentials) from the ConfigMap/Secret to a more secure location (e.g. vault), it is possible to use [environment variables in the configuration](https://grafana.com/docs/mimir/latest/operators-guide/configuring/reference-configuration-parameters/#use-environment-variables-in-the-configuration).
# Such environment variables can be then stored in a separate Secret and injected via the global.extraEnvFrom value. For details about environment injection from a Secret please see [Secrets](https://kubernetes.io/docs/concepts/configuration/secret/#use-case-as-container-environment-variables).
configStorageType: ConfigMap
# -- Name of the Secret or ConfigMap that contains the configuration (used for naming even if config is internal).
externalConfigSecretName: '{{ include "tempo.resourceName" (dict "ctx" . "component" "config") }}'
# -- Name of the Secret or ConfigMap that contains the runtime configuration (used for naming even if config is internal).
externalRuntimeConfigName: '{{ include "tempo.resourceName" (dict "ctx" . "component" "runtime") }}'
# -- When 'useExternalConfig' is true, then changing 'externalConfigVersion' triggers restart of services - otherwise changes to the configuration cause a restart.
externalConfigVersion: '0'
# -- If true, Tempo will report anonymous usage data about the shape of a deployment to Grafana Labs
reportingEnabled: true
tempo:
image:
# -- The Docker registry
registry: docker.io
# -- Optional list of imagePullSecrets. Overrides `global.image.pullSecrets`
pullSecrets: []
# -- Docker image repository
repository: grafana/tempo
# -- Overrides the image tag whose default is the chart's appVersion
tag: null
pullPolicy: IfNotPresent
readinessProbe:
httpGet:
path: /ready
port: http-metrics
initialDelaySeconds: 30
timeoutSeconds: 1
# -- Global labels for all tempo pods
podLabels: {}
# -- Common annotations for all pods
podAnnotations: {}
# -- SecurityContext holds container-level security attributes and common container settings
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
# -- podSecurityContext holds pod-level security attributes and common container settings
podSecurityContext:
fsGroup: 1000
# -- Structured tempo configuration
structuredConfig: {}
# -- Memberlist service configuration.
memberlist:
# -- Adds the appProtocol field to the memberlist service. This allows memberlist to work with istio protocol selection. Set the optional service protocol. Ex: "tcp", "http" or "https".
appProtocol: null
# -- Adds the service field to the memberlist service
service:
# -- Sets optional annotations to the service field of the memberlist service.
annotations: {}
service:
# -- Configure the IP families for all tempo services
# See the Service spec for details: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#servicespec-v1-core
ipFamilies:
- 'IPv4'
# - 'IPv6'
# -- Configure the IP family policy for all tempo services. SingleStack, PreferDualStack or RequireDualStack
ipFamilyPolicy: 'SingleStack'
serviceAccount:
# -- Specifies whether a ServiceAccount should be created
create: true
# -- The name of the ServiceAccount to use.
# If not set and create is true, a name is generated using the fullname template
name: null
# -- Image pull secrets for the service account
imagePullSecrets: []
# -- Annotations for the service account
annotations: {}
automountServiceAccountToken: false
rbac:
# -- Specifies whether RBAC manifests should be created
create: false
# -- Specifies whether a PodSecurityPolicy should be created
pspEnabled: false
# Configuration for the ingester
ingester:
# -- Annotations for the ingester StatefulSet
annotations: {}
# -- Number of replicas for the ingester
replicas: 3
# -- hostAliases to add
hostAliases: []
# - ip: 1.2.3.4
# hostnames:
# - domain.tld
initContainers: []
autoscaling:
# -- Enable autoscaling for the ingester. WARNING: Autoscaling ingesters can result in lost data. Only do this if you know what you're doing.
enabled: false
# -- Minimum autoscaling replicas for the ingester
minReplicas: 2
# -- Maximum autoscaling replicas for the ingester
maxReplicas: 3
# -- Autoscaling behavior configuration for the ingester
behavior: {}
# -- Target CPU utilisation percentage for the ingester
targetCPUUtilizationPercentage: 60
# -- Target memory utilisation percentage for the ingester
targetMemoryUtilizationPercentage:
image:
# -- The Docker registry for the ingester image. Overrides `tempo.image.registry`
registry: null
# -- Optional list of imagePullSecrets. Overrides `tempo.image.pullSecrets`
pullSecrets: []
# -- Docker image repository for the ingester image. Overrides `tempo.image.repository`
repository: null
# -- Docker image tag for the ingester image. Overrides `tempo.image.tag`
tag: null
# -- The name of the PriorityClass for ingester pods
priorityClassName: null
# -- Labels for ingester pods
podLabels: {}
# -- Annotations for ingester pods
podAnnotations: {}
# -- Additional CLI args for the ingester
extraArgs: []
# -- Environment variables to add to the ingester pods
extraEnv: []
# -- Environment variables from secrets or configmaps to add to the ingester pods
extraEnvFrom: []
# -- Resource requests and limits for the ingester
resources: {}
# -- Grace period to allow the ingester to shutdown before it is killed. Especially for the ingestor,
# this must be increased. It must be long enough so ingesters can be gracefully shutdown flushing/transferring
# all data and to successfully leave the member ring on shutdown.
terminationGracePeriodSeconds: 300
# -- topologySpread for ingester pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Defaults to allow skew no more then 1 node per AZ
topologySpreadConstraints: |
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "ingester") | nindent 6 }}
# -- Affinity for ingester pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Soft node and soft zone anti-affinity
affinity: |
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "ingester") | nindent 12 }}
topologyKey: kubernetes.io/hostname
- weight: 75
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "ingester") | nindent 12 }}
topologyKey: topology.kubernetes.io/zone
# -- Override Pod Disruption Budget maxUnavailable with a static value
# maxUnavailable: 1
# -- Node selector for ingester pods
nodeSelector: {}
# -- Tolerations for ingester pods
tolerations: []
# -- Extra volumes for ingester pods
extraVolumeMounts: []
# -- Extra volumes for ingester deployment
extraVolumes: []
# -- Persistence configuration for ingester
persistence:
# -- Enable creating PVCs which is required when using boltdb-shipper
enabled: false
# -- use emptyDir with ramdisk instead of PVC. **Please note that all data in ingester will be lost on pod restart**
inMemory: false
# -- Size of persistent or memory disk
size: 10Gi
# -- Storage class to be used.
# If defined, storageClassName: <storageClass>.
# If set to "-", storageClassName: "", which disables dynamic provisioning.
# If empty or set to null, no storageClassName spec is
# set, choosing the default provisioner (gp2 on AWS, standard on GKE, AWS, and OpenStack).
storageClass: null
# -- Annotations for ingester's persist volume claim
annotations: {}
persistentVolumeClaimRetentionPolicy:
# -- Enable Persistent volume retention policy for StatefulSet
enabled: false
# -- Volume retention behavior when the replica count of the StatefulSet is reduced
whenScaled: Retain
# -- Volume retention behavior that applies when the StatefulSet is deleted
whenDeleted: Retain
config:
# -- Number of copies of spans to store in the ingester ring
replication_factor: 3
# -- Amount of time a trace must be idle before flushing it to the wal.
trace_idle_period: null
# -- How often to sweep all tenants and move traces from live -> wal -> completed blocks.
flush_check_period: null
# -- Maximum size of a block before cutting it
max_block_bytes: null
# -- Maximum length of time before cutting a block
max_block_duration: null
# -- Duration to keep blocks in the ingester after they have been flushed
complete_block_timeout: null
# -- Flush all traces to backend when ingester is stopped
flush_all_on_shutdown: false
service:
# -- Annotations for ingester service
annotations: {}
# -- Type of the service: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
type: ClusterIP
# -- https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/
internalTrafficPolicy: Cluster
# -- Adds the appProtocol field to the ingester service. This allows ingester to work with istio protocol selection.
appProtocol:
# -- Set the optional grpc service protocol. Ex: "grpc", "http2" or "https"
grpc: null
# -- EXPERIMENTAL Feature, disabled by default
zoneAwareReplication:
# -- Enable zone-aware replication for ingester
enabled: false
# -- Maximum number of ingesters that can be unavailable per zone during rollout
maxUnavailable: 50
# -- topologyKey to use in pod anti-affinity. If unset, no anti-affinity rules are generated. If set, the generated anti-affinity rule makes sure that pods from different zones do not mix.
# E.g.: topologyKey: 'kubernetes.io/hostname'
topologyKey: null
# -- Zone definitions for ingester zones. Note: you have to redefine the whole list to change parts as YAML does not allow to modify parts of a list.
zones:
# -- Name of the zone, used in labels and selectors. Must follow Kubernetes naming restrictions: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
- name: zone-a
# -- nodeselector to restrict where pods of this zone can be placed. E.g.:
# nodeSelector:
# topology.kubernetes.io/zone: zone-a
nodeSelector: null
# -- extraAffinity adds user defined custom affinity rules (merged with generated rules)
extraAffinity: {}
# -- Ingester data Persistent Volume Storage Class
# If defined, storageClassName: <storageClass>
# If set to "-", then use `storageClassName: ""`, which disables dynamic provisioning
# If undefined or set to null (the default), then fall back to the value of `ingester.persistentVolume.storageClass`.
storageClass: null
# -- Name of the zone, used in labels and selectors. Must follow Kubernetes naming restrictions: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
- name: zone-b
# -- nodeselector to restrict where pods of this zone can be placed. E.g.:
# nodeSelector:
# topology.kubernetes.io/zone: zone-b
nodeSelector: null
# -- extraAffinity adds user defined custom affinity rules (merged with generated rules)
extraAffinity: {}
# -- Ingester data Persistent Volume Storage Class
# If defined, storageClassName: <storageClass>
# If set to "-", then use `storageClassName: ""`, which disables dynamic provisioning
# If undefined or set to null (the default), then fall back to the value of `ingester.persistentVolume.storageClass`.
storageClass: null
# -- Name of the zone, used in labels and selectors. Must follow Kubernetes naming restrictions: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
- name: zone-c
# -- nodeselector to restrict where pods of this zone can be placed. E.g.:
# nodeSelector:
# topology.kubernetes.io/zone: zone-c
nodeSelector: null
# -- extraAffinity adds user defined custom affinity rules (merged with generated rules)
extraAffinity: {}
# -- Ingester data Persistent Volume Storage Class
# If defined, storageClassName: <storageClass>
# If set to "-", then use `storageClassName: ""`, which disables dynamic provisioning
# If undefined or set to null (the default), then fall back to the value of `ingester.persistentVolume.storageClass`.
storageClass: null
# Configuration for the metrics-generator
metricsGenerator:
# -- Specifies whether a metrics-generator should be deployed
enabled: false
# -- Kind of deployment [StatefulSet/Deployment]
kind: Deployment
# -- Annotations for the metrics-generator StatefulSet
annotations: {}
# -- Number of replicas for the metrics-generator
replicas: 1
# -- hostAliases to add
hostAliases: []
# - ip: 1.2.3.4
# hostnames:
# - domain.tld
initContainers: []
image:
# -- The Docker registry for the metrics-generator image. Overrides `tempo.image.registry`
registry: null
# -- Optional list of imagePullSecrets. Overrides `tempo.image.pullSecrets`
pullSecrets: []
# -- Docker image repository for the metrics-generator image. Overrides `tempo.image.repository`
repository: null
# -- Docker image tag for the metrics-generator image. Overrides `tempo.image.tag`
tag: null
# -- The name of the PriorityClass for metrics-generator pods
priorityClassName: null
# -- Labels for metrics-generator pods
podLabels: {}
# -- Annotations for metrics-generator pods
podAnnotations: {}
# -- Additional CLI args for the metrics-generator
extraArgs: []
# -- Environment variables to add to the metrics-generator pods
extraEnv: []
# -- Environment variables from secrets or configmaps to add to the metrics-generator pods
extraEnvFrom: []
# -- Resource requests and limits for the metrics-generator
resources: {}
# -- Grace period to allow the metrics-generator to shutdown before it is killed. Especially for the ingestor,
# this must be increased. It must be long enough so metrics-generators can be gracefully shutdown flushing/transferring
# all data and to successfully leave the member ring on shutdown.
terminationGracePeriodSeconds: 300
# -- topologySpread for metrics-generator pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Defaults to allow skew no more then 1 node per AZ
topologySpreadConstraints: |
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "metrics-generator") | nindent 6 }}
# -- Affinity for metrics-generator pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Hard node and soft zone anti-affinity
affinity: |
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "metrics-generator") | nindent 10 }}
topologyKey: kubernetes.io/hostname
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "metrics-generator") | nindent 12 }}
topologyKey: topology.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: 1
# -- Node selector for metrics-generator pods
nodeSelector: {}
# -- Tolerations for metrics-generator pods
tolerations: []
# -- Persistence configuration for metrics-generator
persistence:
# -- Enable creating PVCs if you have kind set to StatefulSet. This disables using local disk or memory configured in walEmptyDir
enabled: false
size: 10Gi
# -- Storage class to be used.
# If defined, storageClassName: <storageClass>.
# If set to "-", storageClassName: "", which disables dynamic provisioning.
# If empty or set to null, no storageClassName spec is
# set, choosing the default provisioner (gp2 on AWS, standard on GKE, AWS, and OpenStack).
storageClass: null
# -- Annotations for metrics generator PVCs
annotations: {}
# -- The EmptyDir location where the /var/tempo will be mounted on. Defaults to local disk, can be set to memory.
walEmptyDir: {}
## Here shows how to configure 1Gi memory as emptyDir.
## Ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#emptydirvolumesource-v1-core
# medium: "Memory"
# sizeLimit: 1Gi
# -- Extra volumes for metrics-generator pods
extraVolumeMounts: []
# -- Extra volumes for metrics-generator deployment
extraVolumes: []
persistentVolumeClaimRetentionPolicy:
# -- Enable Persistent volume retention policy for StatefulSet
enabled: false
# -- Volume retention behavior when the replica count of the StatefulSet is reduced
whenScaled: Retain
# -- Volume retention behavior that applies when the StatefulSet is deleted
whenDeleted: Retain
# -- Default ports
ports:
- name: grpc
port: 9095
service: true
- name: http-memberlist
port: 7946
service: false
- name: http-metrics
port: 3100
service: true
# -- More information on configuration: https://grafana.com/docs/tempo/latest/configuration/#metrics-generator
config:
registry:
collection_interval: 15s
external_labels: {}
stale_duration: 15m
processor:
# -- For processors to be enabled and generate metrics, pass the names of the processors to `global_overrides.defaults.metrics_generator_processors` value like `[service-graphs, span-metrics]`.
service_graphs:
# -- Additional dimensions to add to the metrics along with the default dimensions.
# -- The resource and span attributes to be added to the service graph metrics, if present.
dimensions: []
histogram_buckets: [0.1, 0.2, 0.4, 0.8, 1.6, 3.2, 6.4, 12.8]
max_items: 10000
wait: 10s
workers: 10
span_metrics:
# -- Additional dimensions to add to the metrics along with the default dimensions.
# -- The resource and span attributes to be added to the span metrics, if present.
dimensions: []
histogram_buckets: [0.002, 0.004, 0.008, 0.016, 0.032, 0.064, 0.128, 0.256, 0.512, 1.02, 2.05, 4.10]
storage:
path: /var/tempo/wal
wal:
remote_write_flush_deadline: 1m
# Whether to add X-Scope-OrgID header in remote write requests
remote_write_add_org_id_header: true
# -- A list of remote write endpoints.
# -- https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write
remote_write: []
# -- Used by the local blocks processor to store a wal for traces.
traces_storage:
path: /var/tempo/traces
metrics_ingestion_time_range_slack: 30s
service:
# -- Annotations for Metrics Generator service
annotations: {}
# -- Adds the appProtocol field to the metricsGenerator service. This allows metricsGenerator to work with istio protocol selection.
appProtocol:
# -- Set the optional grpc service protocol. Ex: "grpc", "http2" or "https"
grpc: null
# Configuration for the distributor
distributor:
# -- Number of replicas for the distributor
replicas: 1
# -- hostAliases to add
hostAliases: []
# - ip: 1.2.3.4
# hostnames:
# - domain.tld
autoscaling:
# -- Enable autoscaling for the distributor
enabled: false
# -- Minimum autoscaling replicas for the distributor
minReplicas: 1
# -- Maximum autoscaling replicas for the distributor
maxReplicas: 3
# -- Autoscaling behavior configuration for the distributor
behavior: {}
# -- Target CPU utilisation percentage for the distributor
targetCPUUtilizationPercentage: 60
# -- Target memory utilisation percentage for the distributor
targetMemoryUtilizationPercentage:
image:
# -- The Docker registry for the distributor image. Overrides `tempo.image.registry`
registry: null
# -- Optional list of imagePullSecrets. Overrides `tempo.image.pullSecrets`
pullSecrets: []
# -- Docker image repository for the distributor image. Overrides `tempo.image.repository`
repository: null
# -- Docker image tag for the distributor image. Overrides `tempo.image.tag`
tag: null
service:
# -- Annotations for distributor service
annotations: {}
# -- Labels for distributor service
labels: {}
# -- Type of service for the distributor
type: ClusterIP
# -- If type is LoadBalancer you can assign the IP to the LoadBalancer
loadBalancerIP: ''
# -- If type is LoadBalancer limit incoming traffic from IPs.
loadBalancerSourceRanges: []
# -- If type is LoadBalancer you can set it to 'Local' [preserve the client source IP](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip)
externalTrafficPolicy: null
# -- https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/
internalTrafficPolicy: Cluster
serviceDiscovery:
# -- Annotations for distributorDiscovery service
annotations: {}
# -- Labels for distributorDiscovery service
labels: {}
# -- The name of the PriorityClass for distributor pods
priorityClassName: null
# -- Labels for distributor pods
podLabels: {}
# -- Annotations for distributor pods
podAnnotations: {}
# -- Additional CLI args for the distributor
extraArgs: []
# -- Environment variables to add to the distributor pods
extraEnv: []
# -- Environment variables from secrets or configmaps to add to the distributor pods
extraEnvFrom: []
# -- Resource requests and limits for the distributor
resources: {}
# -- Grace period to allow the distributor to shutdown before it is killed
terminationGracePeriodSeconds: 30
# -- topologySpread for distributor pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Defaults to allow skew no more then 1 node per AZ
topologySpreadConstraints: |
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "distributor") | nindent 6 }}
# -- Affinity for distributor pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Hard node and soft zone anti-affinity
affinity: |
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "distributor") | nindent 10 }}
topologyKey: kubernetes.io/hostname
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "distributor") | nindent 12 }}
topologyKey: topology.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: 1
# -- Node selector for distributor pods
nodeSelector: {}
# -- Tolerations for distributor pods
tolerations: []
# -- Extra volumes for distributor pods
extraVolumeMounts: []
# -- Extra volumes for distributor deployment
extraVolumes: []
config:
# -- Enable to log every received trace id to help debug ingestion
# -- WARNING: Deprecated. Use log_received_spans instead.
log_received_traces: null
# -- Enable to log every received span to help debug ingestion or calculate span error distributions using the logs
log_received_spans:
enabled: false
include_all_attributes: false
filter_by_status_error: false
log_discarded_spans:
enabled: false
include_all_attributes: false
filter_by_status_error: false
# -- Disables write extension with inactive ingesters
extend_writes: null
# -- Adds the appProtocol field to the distributor service. This allows distributor to work with istio protocol selection.
appProtocol:
# -- Set the optional grpc service protocol. Ex: "grpc", "http2" or "https"
grpc: null
# Configuration for the compactor
compactor:
# -- Number of replicas for the compactor
replicas: 1
# -- Autoscaling configurations
autoscaling:
# -- Enable autoscaling for the compactor
enabled: false
# -- Minimum autoscaling replicas for the compactor
minReplicas: 1
# -- Maximum autoscaling replicas for the compactor
maxReplicas: 3
# -- Autoscaling via HPA object
hpa:
enabled: false
# -- Autoscaling behavior configuration for the compactor
behavior: {}
# -- Target CPU utilisation percentage for the compactor
targetCPUUtilizationPercentage: 100
# -- Target memory utilisation percentage for the compactor
targetMemoryUtilizationPercentage:
# -- Autoscaling via keda/ScaledObject
keda:
# requires https://keda.sh/
enabled: false
# -- List of autoscaling triggers for the compactor
triggers: []
# - type: prometheus
# metadata:
# serverAddress: "http://<prometheus-host>:9090"
# threshold: "250"
# query: |-
# sum by (cluster, namespace, tenant) (
# tempodb_compaction_outstanding_blocks{container="compactor", namespace=~".*"}
# ) /
# ignoring(tenant) group_left count by (cluster, namespace)(
# tempo_build_info{container="compactor", namespace=~".*"}
# )
# -- hostAliases to add
hostAliases: []
# - ip: 1.2.3.4
# hostnames:
# - domain.tld
image:
# -- The Docker registry for the compactor image. Overrides `tempo.image.registry`
registry: null
# -- Optional list of imagePullSecrets. Overrides `tempo.image.pullSecrets`
pullSecrets: []
# -- Docker image repository for the compactor image. Overrides `tempo.image.repository`
repository: null
# -- Docker image tag for the compactor image. Overrides `tempo.image.tag`
tag: null
# -- The name of the PriorityClass for compactor pods
priorityClassName: null
# -- Labels for compactor pods
podLabels: {}
# -- Annotations for compactor pods
podAnnotations: {}
# -- Affinity for compactor pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Hard node and soft zone anti-affinity
affinity: |
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "compactor") | nindent 10 }}
topologyKey: kubernetes.io/hostname
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "compactor") | nindent 12 }}
topologyKey: topology.kubernetes.io/zone
# -- Additional CLI args for the compactor
extraArgs: []
# -- Environment variables to add to the compactor pods
extraEnv: []
# -- Environment variables from secrets or configmaps to add to the compactor pods
extraEnvFrom: []
# -- Init containers to add to the compactor pod
initContainers: []
# -- Containers to add to the compactor pod
extraContainers: []
# -- Resource requests and limits for the compactor
resources: {}
# -- Grace period to allow the compactor to shutdown before it is killed
terminationGracePeriodSeconds: 30
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: 1
# -- Node selector for compactor pods
nodeSelector: {}
# -- Tolerations for compactor pods
tolerations: []
# -- Extra volumes for compactor pods
extraVolumeMounts: []
# -- Extra volumes for compactor deployment
extraVolumes: []
config:
compaction:
# -- Duration to keep blocks
block_retention: 48h
# Duration to keep blocks that have been compacted elsewhere
compacted_block_retention: 1h
# -- Blocks in this time window will be compacted together
compaction_window: 1h
# -- Amount of data to buffer from input blocks
v2_in_buffer_bytes: 5242880
# -- Flush data to backend when buffer is this large
v2_out_buffer_bytes: 20971520
# -- Maximum number of traces in a compacted block. WARNING: Deprecated. Use max_block_bytes instead.
max_compaction_objects: 6000000
# -- Maximum size of a compacted block in bytes
max_block_bytes: 107374182400
# -- Number of tenants to process in parallel during retention
retention_concurrency: 10
# -- Number of traces to buffer in memory during compaction
v2_prefetch_traces_count: 1000
# -- The maximum amount of time to spend compacting a single tenant before moving to the next
max_time_per_tenant: 5m
# -- The time between compaction cycles
compaction_cycle: 30s
service:
# -- Annotations for compactor service
annotations: {}
dnsConfigOverides:
enabled: false
dnsConfig:
options:
- name: ndots
value: "3" # This is required for Azure Kubernetes Service (AKS) https://github.com/grafana/tempo/issues/1462
# Configuration for the querier
querier:
# -- Number of replicas for the querier
replicas: 1
# -- hostAliases to add
hostAliases: []
# - ip: 1.2.3.4
# hostnames:
# - domain.tld
autoscaling:
# -- Enable autoscaling for the querier
enabled: false
# -- Minimum autoscaling replicas for the querier
minReplicas: 1
# -- Maximum autoscaling replicas for the querier
maxReplicas: 3
# -- Autoscaling behavior configuration for the querier
behavior: {}
# -- Target CPU utilisation percentage for the querier
targetCPUUtilizationPercentage: 60
# -- Target memory utilisation percentage for the querier
targetMemoryUtilizationPercentage:
image:
# -- The Docker registry for the querier image. Overrides `tempo.image.registry`
registry: null
# -- Optional list of imagePullSecrets. Overrides `tempo.image.pullSecrets`
pullSecrets: []
# -- Docker image repository for the querier image. Overrides `tempo.image.repository`
repository: null
# -- Docker image tag for the querier image. Overrides `tempo.image.tag`
tag: null
# -- The name of the PriorityClass for querier pods
priorityClassName: null
# -- Labels for querier pods
podLabels: {}
# -- Annotations for querier pods
podAnnotations: {}
# -- Additional CLI args for the querier
extraArgs: []
# -- Environment variables to add to the querier pods
extraEnv: []
# -- Environment variables from secrets or configmaps to add to the querier pods
extraEnvFrom: []
# -- Resource requests and limits for the querier
resources: {}
# -- Grace period to allow the querier to shutdown before it is killed
terminationGracePeriodSeconds: 30
# -- topologySpread for querier pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Defaults to allow skew no more then 1 node per AZ
topologySpreadConstraints: |
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "querier") | nindent 6 }}
# -- Affinity for querier pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Hard node and soft zone anti-affinity
affinity: |
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "querier" "memberlist" true) | nindent 10 }}
topologyKey: kubernetes.io/hostname
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "querier" "memberlist" true) | nindent 12 }}
topologyKey: topology.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: 1
# -- Node selector for querier pods
nodeSelector: {}
# -- Tolerations for querier pods
tolerations: []
# -- Extra volumes for querier pods
extraVolumeMounts: []
# -- Extra volumes for querier deployment
extraVolumes: []
config:
frontend_worker:
# -- grpc client configuration
grpc_client_config: {}
trace_by_id:
# -- Timeout for trace lookup requests
query_timeout: 10s
search:
# -- Timeout for search requests
query_timeout: 30s
# -- This value controls the overall number of simultaneous subqueries that the querier will service at once. It does not distinguish between the types of queries.
max_concurrent_queries: 20
service:
# -- Annotations for querier service
annotations: {}
# -- Adds the appProtocol field to the querier service. This allows querier to work with istio protocol selection.
appProtocol:
# -- Set the optional grpc service protocol. Ex: "grpc", "http2" or "https"
grpc: null
# Configuration for the query-frontend
queryFrontend:
query:
# -- Required for grafana version <7.5 for compatibility with jaeger-ui. Doesn't work on ARM arch
enabled: false
image:
# -- The Docker registry for the tempo-query image. Overrides `tempo.image.registry`
registry: null
# -- Optional list of imagePullSecrets. Overrides `tempo.image.pullSecrets`
pullSecrets: []
# -- Docker image repository for the tempo-query image. Overrides `tempo.image.repository`
repository: grafana/tempo-query
# -- Docker image tag for the tempo-query image. Overrides `tempo.image.tag`
tag: null
# -- Resource requests and limits for the query
resources: {}
# -- Additional CLI args for tempo-query pods
extraArgs: []
# -- Environment variables to add to the tempo-query pods
extraEnv: []
# -- Environment variables from secrets or configmaps to add to the tempo-query pods
extraEnvFrom: []
# -- Extra volumes for tempo-query pods
extraVolumeMounts: []
# -- Extra volumes for tempo-query deployment
extraVolumes: []
config: |
backend: 127.0.0.1:3100
# -- Number of replicas for the query-frontend
replicas: 1
# -- hostAliases to add
hostAliases: []
# - ip: 1.2.3.4
# hostnames:
# - domain.tld
config:
# -- Maximum number of outstanding requests per tenant per frontend; requests beyond this error with HTTP 429.
max_outstanding_per_tenant: 2000
# -- Number of times to retry a request sent to a querier
max_retries: 2
search:
# -- The number of concurrent jobs to execute when searching the backend
concurrent_jobs: 1000
# -- The target number of bytes for each job to handle when performing a backend search
target_bytes_per_job: 104857600
# -- Trace by ID lookup configuration
trace_by_id:
# -- The number of shards to split a trace by id query into.
query_shards: 50
metrics:
# -- The number of concurrent jobs to execute when querying the backend.
concurrent_jobs: 1000
# -- The target number of bytes for each job to handle when querying the backend.
target_bytes_per_job: 104857600
# -- The maximum allowed time range for a metrics query.
# 0 disables this limit.
max_duration: 3h
# -- query_backend_after controls where the query-frontend searches for traces.
# Time ranges older than query_backend_after will be searched in the backend/object storage only.
# Time ranges between query_backend_after and now will be queried from the metrics-generators.
query_backend_after: 30m
# -- The target length of time for each job to handle when querying the backend.
interval: 5m
# -- If set to a non-zero value, it's value will be used to decide if query is within SLO or not.
# Query is within SLO if it returned 200 within duration_slo seconds OR processed throughput_slo bytes/s data.
# NOTE: `duration_slo` and `throughput_bytes_slo` both must be configured for it to work
duration_slo: 0s
# -- If set to a non-zero value, it's value will be used to decide if query is within SLO or not.
# Query is within SLO if it returned 200 within duration_slo seconds OR processed throughput_slo bytes/s data.
throughput_bytes_slo: 0
autoscaling:
# -- Enable autoscaling for the query-frontend
enabled: false
# -- Minimum autoscaling replicas for the query-frontend
minReplicas: 1
# -- Maximum autoscaling replicas for the query-frontend
maxReplicas: 3
# -- Autoscaling behavior configuration for the query-frontend
behavior: {}
# -- Target CPU utilisation percentage for the query-frontend
targetCPUUtilizationPercentage: 60
# -- Target memory utilisation percentage for the query-frontend
targetMemoryUtilizationPercentage:
image:
# -- The Docker registry for the query-frontend image. Overrides `tempo.image.registry`
registry: null
# -- Optional list of imagePullSecrets. Overrides `tempo.image.pullSecrets`
pullSecrets: []
# -- Docker image repository for the query-frontend image. Overrides `tempo.image.repository`
repository: null
# -- Docker image tag for the query-frontend image. Overrides `tempo.image.tag`
tag: null
service:
# -- Port of the query-frontend service
port: 16686
# -- Annotations for queryFrontend service
annotations: {}
# -- Labels for queryFrontend service
labels: {}
# -- Type of service for the queryFrontend
type: ClusterIP
# -- If type is LoadBalancer you can assign the IP to the LoadBalancer
loadBalancerIP: ""
# -- If type is LoadBalancer limit incoming traffic from IPs.
loadBalancerSourceRanges: []
serviceDiscovery:
# -- Annotations for queryFrontendDiscovery service
annotations: {}
# -- Labels for queryFrontendDiscovery service
labels: {}
ingress:
# -- Specifies whether an ingress for the Jaeger should be created
enabled: false
# -- Ingress Class Name. MAY be required for Kubernetes versions >= 1.18
# ingressClassName: nginx
# -- Annotations for the Jaeger ingress
annotations: {}
# -- Hosts configuration for the Jaeger ingress
hosts:
- host: query.tempo.example.com
paths:
- path: /
# -- pathType (e.g. ImplementationSpecific, Prefix, .. etc.) might also be required by some Ingress Controllers
# pathType: Prefix
# -- TLS configuration for the Jaeger ingress
tls:
- secretName: tempo-query-tls
hosts:
- query.tempo.example.com
# -- The name of the PriorityClass for query-frontend pods
priorityClassName: null
# -- Labels for queryFrontend pods
podLabels: {}
# -- Annotations for query-frontend pods
podAnnotations: {}
# -- Additional CLI args for the query-frontend
extraArgs: []
# -- Environment variables to add to the query-frontend pods
extraEnv: []
# -- Environment variables from secrets or configmaps to add to the query-frontend pods
extraEnvFrom: []
# -- Resource requests and limits for the query-frontend
resources: {}
# -- Grace period to allow the query-frontend to shutdown before it is killed
terminationGracePeriodSeconds: 30
# -- topologySpread for query-frontend pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Defaults to allow skew no more then 1 node per AZ
topologySpreadConstraints: |
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "query-frontend") | nindent 6 }}
# -- Affinity for query-frontend pods. Passed through `tpl` and, thus, to be configured as string
# @default -- Hard node and soft zone anti-affinity
affinity: |
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "query-frontend") | nindent 10 }}
topologyKey: kubernetes.io/hostname
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "query-frontend") | nindent 12 }}
topologyKey: topology.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: 1
# -- Node selector for query-frontend pods
nodeSelector: {}
# -- Tolerations for query-frontend pods
tolerations: []
# -- Extra volumes for query-frontend pods