-
Notifications
You must be signed in to change notification settings - Fork 510
/
main.jsonnet
74 lines (69 loc) · 1.67 KB
/
main.jsonnet
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
// The jsonnet file used to generate the Kubernetes manifests.
local tempo = import 'microservices/tempo.libsonnet';
tempo {
_images+:: {
tempo: 'grafana/tempo:latest',
tempo_vulture: 'grafana/tempo-vulture:latest',
tempo_query: 'grafana/tempo-query:latest',
},
// generate with `tempo_query.enabled: true` to include tempo-query manifests
_config+:: {
namespace: 'tracing',
compactor+: {
replicas: 5,
},
query_frontend+: {
replicas: 2,
},
querier+: {
replicas: 5,
},
ingester+: {
replicas: 10,
pvc_size: '10Gi',
pvc_storage_class: 'fast',
},
distributor+: {
replicas: 5,
receivers: {
jaeger: {
protocols: {
grpc: {
endpoint: '0.0.0.0:14250',
},
},
},
otlp: {
protocols: {
grpc: {
endpoint: '0.0.0.0:4317',
},
},
},
},
},
metrics_generator+: {
pvc_size: '10Gi',
pvc_storage_class: 'fast',
ephemeral_storage_request_size: '10Gi',
ephemeral_storage_limit_size: '11Gi',
},
memcached+: {
replicas: 5,
},
vulture+: {
replicas: 1,
tempoOrgId: '1',
tempoPushUrl: 'http://distributor',
tempoQueryUrl: 'http://query-frontend:3200/tempo',
},
jaeger_ui: {
base_path: '/tempo',
},
backend: 'gcs',
bucket: 'tempo',
},
local statefulSet = $.apps.v1.statefulSet,
tempo_ingester_statefulset:
if !$._config.multi_zone_ingester_enabled then super.tempo_ingester_statefulset + statefulSet.mixin.spec.withPodManagementPolicy('Parallel') else null,
}