forked from sourcegraph/deploy-sourcegraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjaeger.Deployment.yaml
61 lines (61 loc) · 1.68 KB
/
jaeger.Deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: jaeger
labels:
deploy: sourcegraph
sourcegraph-resource-requires: no-cluster-admin
app.kubernetes.io/component: jaeger
app: jaeger
app.kubernetes.io/name: jaeger
spec:
replicas: 1
selector:
matchLabels:
app: jaeger
app.kubernetes.io/name: jaeger
app.kubernetes.io/component: all-in-one
strategy:
type: Recreate
template:
metadata:
labels:
app: jaeger
deploy: sourcegraph
app.kubernetes.io/name: jaeger
app.kubernetes.io/component: all-in-one
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "16686"
spec:
containers:
- image: index.docker.io/sourcegraph/jaeger-all-in-one:3.21.1@sha256:75812a58524a8a103934dff00816f44bdba44b7a6908a8ac80658387887d2c7d
name: jaeger
args: ["--memory.max-traces=20000"]
ports:
- containerPort: 5775
protocol: UDP
- containerPort: 6831
protocol: UDP
- containerPort: 6832
protocol: UDP
- containerPort: 5778
protocol: TCP
- containerPort: 16686
protocol: TCP
- containerPort: 14250
protocol: TCP
readinessProbe:
httpGet:
path: "/"
port: 14269
initialDelaySeconds: 5
resources:
limits:
cpu: "1"
memory: 1G
requests:
cpu: 500m
memory: 500M
securityContext:
runAsUser: 0