Skip to content

Commit 181432c

Browse files
committed
Adds a frontend container. No need to scale it indivudually.
1 parent 18322c3 commit 181432c

File tree

2 files changed

+29
-4
lines changed

2 files changed

+29
-4
lines changed

linkedin-burrow/burrow-service.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ spec:
77
selector:
88
app: burrow
99
ports:
10-
- protocol: TCP
10+
- name: web
11+
protocol: TCP
1112
port: 80
12-
targetPort: 8000
13+
- name: api
14+
protocol: TCP
15+
port: 8000
16+
- name: prometheus
17+
protocol: TCP
18+
port: 8080

linkedin-burrow/burrow.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,40 @@ spec:
2020
- name: burrow
2121
image: solsson/burrow@sha256:1f17cb48ba4062b2f796fdf250dce6b6a9d5127b42e15ef2fbc79c68c34ad0ef
2222
ports:
23-
- containerPort: 8000
23+
- name: api
24+
containerPort: 8000
25+
readinessProbe:
26+
httpGet:
27+
path: /burrow/admin
28+
port: 8000
29+
livenessProbe:
30+
httpGet:
31+
path: /burrow/admin
32+
port: 8000
2433
volumeMounts:
2534
- name: config
2635
mountPath: /etc/burrow
2736
- name: prom
2837
image: solsson/burrow-exporter:api-v3@sha256:4407616c5720e8a3397f668eec1aaa31df751b3614c0adfc56cae231f2eaeee2
2938
ports:
30-
- containerPort: 8080
39+
- name: prometheus
40+
containerPort: 8080
3141
env:
3242
- name: BURROW_ADDR
3343
value: http://localhost:8000
3444
- name: METRICS_ADDR
3545
value: 0.0.0.0:8080
3646
- name: INTERVAL
3747
value: "30"
48+
- name: dashboard
49+
image: joway/burrow-dashboard@sha256:b4cce87c8264119d73f9a6df5d787ea811ce2138d39ca6cd56525bcfbb5169bf
50+
env:
51+
- name: BURROW_BACKEND
52+
value: http://localhost:8000
53+
ports:
54+
- name: web
55+
containerPort: 80
56+
protocol: TCP
3857
volumes:
3958
- name: config
4059
configMap:

0 commit comments

Comments
 (0)