-
Notifications
You must be signed in to change notification settings - Fork 0
/
kafdrop-deployment.yml
55 lines (55 loc) · 1.35 KB
/
kafdrop-deployment.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
apiVersion: apps/v1
kind: Deployment
metadata:
name: kafka-kafdrop-deployment
namespace: kafka-dev
labels:
app: kafka-kafdrop
spec:
replicas: 1
selector:
matchLabels:
app: kafka-kafdrop
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
labels:
app: kafka-kafdrop
spec:
containers:
- image: obsidiandynamics/kafdrop
imagePullPolicy: Always
name: kafka-kafdrop
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
ports:
- containerPort: 5010
name: server
- containerPort: 5012
name: jmx
env:
- name: JVM_OPTS
value: "-Xms512M -Xms512M"
- name: SERVER_SERVLET_CONTEXTPATH
value: "/"
- name: KAFKA_BROKERCONNECT
value: "debezium-cluster-kafka-bootstrap:9092"
tolerations:
- key: "sku"
operator: "Equal"
value: "generalvm"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: agentpool
operator: In
values:
- customgen
restartPolicy: Always