forked from grafana/beyla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
00-demo-app.yml
41 lines (41 loc) · 859 Bytes
/
00-demo-app.yml
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
# Feel free to replace this demo app by something different,
# but don't forget then to replace the EXECUTABLE_NAME env var in the 02-auto-instrument.yml file
apiVersion: apps/v1
kind: Deployment
metadata:
name: goblog
labels:
app: goblog
spec:
replicas: 1
selector:
matchLabels:
app: goblog
template:
metadata:
labels:
app: goblog
spec:
containers:
- name: goblog
image: mariomac/goblog:dev
imagePullPolicy: Always
command: ["/goblog"]
env:
- name: "GOBLOG_CONFIG"
value: "/sample/config.yml"
ports:
- containerPort: 8443
name: https
---
apiVersion: v1
kind: Service
metadata:
name: goblog
spec:
selector:
app: goblog
ports:
- port: 8443
protocol: TCP
targetPort: https