-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathjaeger.Deployment.yaml
More file actions
70 lines (70 loc) · 2.03 KB
/
jaeger.Deployment.yaml
File metadata and controls
70 lines (70 loc) · 2.03 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
67
68
69
70
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:
- name: jaeger
image: us-docker.pkg.dev/sourcegraph-images/internal/jaeger-all-in-one:6.12.1792@sha256:124ff81de69174aaa83c32586e267956bf6c13fe166e7b5ed008737e5c4c6366
args: ["--memory.max-traces=20000", "--sampling.strategies-file=/etc/jaeger/sampling_strategies.json", "--collector.otlp.enabled"]
ports:
- containerPort: 5775
protocol: UDP
- containerPort: 6831
protocol: UDP
- containerPort: 6832
protocol: UDP
- containerPort: 5778
protocol: TCP
- containerPort: 16686
protocol: TCP
- containerPort: 4320
protocol: TCP
- containerPort: 4321
protocol: TCP
readinessProbe:
httpGet:
path: "/"
port: 14269
initialDelaySeconds: 5
resources:
limits:
cpu: "1"
memory: 1G
requests:
cpu: 500m
memory: 500M
securityContext:
# Required to prevent escalations to root.
allowPrivilegeEscalation: false
runAsUser: 100
runAsGroup: 101
securityContext:
runAsUser: 100
fsGroup: 101
fsGroupChangePolicy: "OnRootMismatch"