-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathkustomization.yaml
64 lines (57 loc) · 1.94 KB
/
kustomization.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
# ============================================================================ #
# Microservices Mode - Traces
# ============================================================================ #
# ----------------------------------------------------
# apiVersion and kind of Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../common/alloy
- tempo-distributed
# optional
- ../../monolithic-mode/metrics/mimir
- ../../monolithic-mode/logs/loki
secretGenerator:
- name: tempo-distributed-env
namespace: tracing-system
literals:
- TEMPO_S3_SECRET_KEY=VD538OYxSEiGD4I9mmFfqFMCGq1vIiGm
- JAEGER_AGENT_HOST=alloy.monitoring-system.svc.cluster.local
- JAEGER_AGENT_PORT=6831
- JAEGER_TAGS=app=tempo
- JAEGER_SAMPLER_TYPE=const
- JAEGER_SAMPLER_PARAM=1
configMapGenerator:
- name: alloy-config
namespace: monitoring-system
behavior: replace
files:
- config.alloy=traces.alloy
- name: tempo-distributed-config
namespace: tracing-system
behavior: replace
files:
- tempo.yaml=configs/tempo-distributed.yaml
- name: tempo-distributed-runtime
namespace: tracing-system
behavior: replace
files:
- configs/overrides.yaml
# Update Tempo Microservices Mode endpoint in gateway
- name: nginx-templates
namespace: gateway
options:
disableNameSuffixHash: true
files:
- gateway_tempo.conf.template=configs/gateway_tempo.conf
- gateway_mimir.conf.template=configs/gateway_mimir.conf
- gateway_loki.conf.template=configs/gateway_loki.conf
- name: nginx-env
namespace: gateway
options:
disableNameSuffixHash: true
literals:
- TEMPO_DISTRIBUTOR_HOST=tempo-distributed-distributor.tracing-system.svc.cluster.local
- TEMPO_INGESTER_HOST=tempo-distributed-ingester.tracing-system.svc.cluster.local
- TEMPO_QUERY_FRONTEND_HOST=tempo-distributed-query-frontend.tracing-system.svc.cluster.local
- TEMPO_COMPACTOR_HOST=tempo-distributed-compactor.tracing-system.svc.cluster.local