-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebezium-deployment.yaml
55 lines (55 loc) · 1.49 KB
/
debezium-deployment.yaml
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:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.34.0 (cbf2835db)
labels:
io.kompose.service: debezium
name: debezium
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: debezium
template:
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.34.0 (cbf2835db)
labels:
io.kompose.service: debezium
spec:
containers:
- env:
- name: BOOTSTRAP_SERVERS
value: aat-kafka:29092
- name: CONFIG_STORAGE_TOPIC
value: debezium_connect_config
- name: GROUP_ID
value: "1"
- name: LOG_LEVEL
value: WARN
- name: OFFSET_STORAGE_TOPIC
value: debezium_connect_offset
- name: STATUS_STORAGE_TOPIC
value: debezium_connect_status
image: 'debezium/connect:'
livenessProbe:
exec:
command:
- curl
- --silent
- --fail
- -X
- GET
- http://localhost:8083/connectors
failureThreshold: 5
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
name: aat-debezium
ports:
- containerPort: 8083
protocol: TCP
restartPolicy: Always