-
Notifications
You must be signed in to change notification settings - Fork 0
/
confluent-components.yaml
96 lines (96 loc) · 2.51 KB
/
confluent-components.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
apiVersion: platform.confluent.io/v1beta1
kind: Zookeeper
metadata:
name: zookeeper
namespace: confluent
spec:
replicas: 1
image:
application: confluentinc/cp-zookeeper:7.3.0
init: confluentinc/confluent-init-container:2.5.0
dataVolumeCapacity: 2Gi
logVolumeCapacity: 2Gi
podTemplate:
resources:
requests:
cpu: 100m
memory: 256Mi
podSecurityContext:
fsGroup: 1000
runAsUser: 1000
runAsNonRoot: true
---
apiVersion: platform.confluent.io/v1beta1
kind: Kafka
metadata:
name: kafka
namespace: confluent
spec:
replicas: 1
image:
application: confluentinc/cp-server:7.3.0
init: confluentinc/confluent-init-container:2.5.0
dataVolumeCapacity: 2Gi
configOverrides:
server:
- "confluent.license.topic.replication.factor=1"
- "confluent.metrics.reporter.topic.replicas=1"
- "confluent.tier.metadata.replication.factor=1"
- "confluent.metadata.topic.replication.factor=1"
- "confluent.balancer.topic.replication.factor=1"
- "confluent.security.event.logger.exporter.kafka.topic.replicas=1"
- "event.logger.exporter.kafka.topic.replicas=1"
- "offsets.topic.replication.factor=1"
- "confluent.cluster.link.enable=true"
- "password.encoder.secret=secret"
podTemplate:
resources:
requests:
cpu: 200m
memory: 512Mi
podSecurityContext:
fsGroup: 1000
runAsUser: 1000
runAsNonRoot: true
metricReporter:
enabled: true
---
apiVersion: platform.confluent.io/v1beta1
kind: ControlCenter
metadata:
name: controlcenter
namespace: confluent
spec:
replicas: 1
image:
application: confluentinc/cp-enterprise-control-center:7.3.0
init: confluentinc/confluent-init-container:2.5.0
dataVolumeCapacity: 2Gi
configOverrides:
server:
- confluent.controlcenter.command.topic.replication=1
- confluent.controlcenter.replication.factor=1
- confluent.metrics.reporter.topic.replicas=1
- confluent.metrics.topic.replication=1
- confluent.monitoring.interceptor.topic.replication=1
- confluent.controlcenter.internal.topics.replication=1
podTemplate:
resources:
requests:
cpu: 500m
memory: 512Mi
probe:
liveness:
periodSeconds: 10
failureThreshold: 5
timeoutSeconds: 500
podSecurityContext:
fsGroup: 1000
runAsUser: 1000
runAsNonRoot: true
externalAccess:
type: nodePort
nodePort:
host: kind-control-plane
nodePortOffset: 30200