blob: aa7ce6ce18f88f4cf6143c2b62d029e7fdfa1237 (
plain) (
blame)
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
|
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: burrow
namespace: kafka
spec:
replicas: 1
selector:
matchLabels:
app: burrow
template:
metadata:
labels:
app: burrow
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
spec:
containers:
- name: burrow
image: solsson/burrow@sha256:1f17cb48ba4062b2f796fdf250dce6b6a9d5127b42e15ef2fbc79c68c34ad0ef
ports:
- containerPort: 8000
volumeMounts:
- name: config
mountPath: /etc/burrow
- name: prom
image: solsson/burrow-exporter@sha256:2358412bc4757b7bd459452a9d759a923fc5ba93b26f5fb5b3d1ed8a0189417c
ports:
- containerPort: 8080
env:
- name: BURROW_ADDR
value: http://localhost:8000
- name: METRICS_ADDR
value: 0.0.0.0:8080
- name: INTERVAL
value: "30"
volumes:
- name: config
configMap:
name: burrow-config
|