forked from grafana/tempo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDeployment-metrics-generator.yaml
More file actions
66 lines (66 loc) · 1.61 KB
/
Deployment-metrics-generator.yaml
File metadata and controls
66 lines (66 loc) · 1.61 KB
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: metrics-generator
namespace: tracing
spec:
replicas: 0
selector:
matchLabels:
app: metrics-generator
name: metrics-generator
tempo-gossip-member: "true"
strategy:
rollingUpdate:
maxSurge: 3
maxUnavailable: 1
template:
metadata:
annotations:
config_hash: 5067569ac65e5c3c0d79d48abd17c511
labels:
app: metrics-generator
name: metrics-generator
tempo-gossip-member: "true"
spec:
containers:
- args:
- -config.file=/conf/tempo.yaml
- -mem-ballast-size-mbs=1024
- -target=metrics-generator
image: grafana/tempo:latest
name: metrics-generator
ports:
- containerPort: 3200
name: prom-metrics
readinessProbe:
httpGet:
path: /ready
port: 3200
initialDelaySeconds: 15
timeoutSeconds: 1
resources:
limits:
cpu: "1"
ephemeral-storage: 11Gi
memory: 2Gi
requests:
cpu: 500m
ephemeral-storage: 10Gi
memory: 1Gi
volumeMounts:
- mountPath: /conf
name: tempo-conf
- mountPath: /var/tempo/generator_wal
name: metrics-generator-wal-data
- mountPath: /overrides
name: overrides
volumes:
- configMap:
name: tempo-metrics-generator
name: tempo-conf
- configMap:
name: tempo-overrides
name: overrides
- emptyDir: {}
name: metrics-generator-wal-data