blob: bb43dd196838cce631dea0b1da215b6d258e6b77 (
plain) (
tree)
|
|
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:
- name: api
containerPort: 8000
readinessProbe:
httpGet:
path: /burrow/admin
port: 8000
livenessProbe:
httpGet:
path: /burrow/admin
port: 8000
volumeMounts:
- name: config
mountPath: /etc/burrow
- name: prom
image: solsson/burrow-exporter:api-v3@sha256:4407616c5720e8a3397f668eec1aaa31df751b3614c0adfc56cae231f2eaeee2
ports:
- name: prometheus
containerPort: 8080
env:
- name: BURROW_ADDR
value: http://localhost:8000
- name: METRICS_ADDR
value: 0.0.0.0:8080
- name: INTERVAL
value: "30"
- name: dashboard
image: joway/burrow-dashboard@sha256:b4cce87c8264119d73f9a6df5d787ea811ce2138d39ca6cd56525bcfbb5169bf
env:
- name: BURROW_BACKEND
value: http://localhost:8000
ports:
- name: web
containerPort: 80
protocol: TCP
volumes:
- name: config
configMap:
name: burrow-config
|