-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.dev.yaml
70 lines (70 loc) · 1.93 KB
/
deploy.dev.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
apiVersion: v1
kind: Service
metadata:
name: kafka-connect
annotations:
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
spec:
selector:
app: kafka-connect
ports:
- name: http
port: 8083
targetPort: 8083
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: kafka-connect-deployment
spec:
selector:
matchLabels:
app: kafka-connect
replicas: 3
template:
metadata:
labels:
app: kafka-connect
spec:
containers:
- name: kafka-connect
image: docker.pkg.github.com/batchcorp/kafka-sink-connector/connect:latest
ports:
- containerPort: 8083
env:
- name: ENV_NAME
value: "dev"
- name: GROUP_ID
value: "1"
- name: CONFIG_STORAGE_TOPIC
value: "connect-sandbox-configs"
- name: OFFSET_STORAGE_TOPIC
value: "connect-sandbox-offsets"
- name: STATUS_STORAGE_TOPIC
value: "connect-sandbox-status"
- name: BOOTSTRAP_SERVERS
value: "b-1.sandbox.5oabwj.c2.kafka.us-west-2.amazonaws.com:9094,b-2.sandbox.5oabwj.c2.kafka.us-west-2.amazonaws.com:9094,b-3.sandbox.5oabwj.c2.kafka.us-west-2.amazonaws.com:9094"
- name: REST_HOST_NAME
value: "0.0.0.0"
- name: CONNECT_CONSUMER_SECURITY_PROTOCOL
value: "SSL"
- name: CONNECT_SECURITY_PROTOCOL
value: "SSL"
- name: HEAP_OPTS
value: "-Xmx3G -Xms3G"
resources:
requests:
memory: "3000Mi"
cpu: "2000m"
limits:
memory: "5000Mi"
cpu: "4000m"
livenessProbe:
httpGet:
path: /
port: 8083
initialDelaySeconds: 30
periodSeconds: 5
imagePullSecrets:
- name: regcred