forked from agorgl/observability-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hot-rod-sample-app.yaml
51 lines (51 loc) · 1 KB
/
hot-rod-sample-app.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: hotrod
name: hotrod
spec:
replicas: 1
selector:
matchLabels:
app: hotrod
template:
metadata:
labels:
app: hotrod
spec:
containers:
- args:
- all
env:
- name: OTEL_EXPORTER_JAEGER_AGENT_HOST
value: tempo.observability
- name: OTEL_EXPORTER_JAEGER_AGENT_PORT
value: '6831'
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://tempo.observability:4318
image: jaegertracing/example-hotrod:latest
name: hotrod
ports:
- containerPort: 8080
resources:
limits:
memory: 512Mi
cpu: 200m
restartPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
labels:
app: hotrod
name: hotrod
spec:
ports:
- name: 'http'
port: 80
targetPort: 8080
selector:
app: hotrod
type: LoadBalancer # or ClusterIP if LB is not supported