-
Notifications
You must be signed in to change notification settings - Fork 175
/
kraftbroker_controller.yaml
70 lines (70 loc) · 1.46 KB
/
kraftbroker_controller.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: platform.confluent.io/v1beta1
kind: KRaftController
metadata:
name: kraftcontroller
namespace: confluent
spec:
dataVolumeCapacity: 10G
image:
application: docker.io/confluentinc/cp-server:7.7.0
init: confluentinc/confluent-init-container:2.9.0
listeners:
controller:
tls:
enabled: true
authentication:
type: plain
jaasConfig:
secretRef: credential
tls:
autoGeneratedCerts: true
replicas: 3
---
apiVersion: platform.confluent.io/v1beta1
kind: Kafka
metadata:
name: kafka
namespace: confluent
spec:
dependencies:
kRaftController:
controllerListener:
tls:
enabled: true
authentication:
type: plain
jaasConfig:
secretRef: credential
clusterRef:
name: kraftcontroller
dataVolumeCapacity: 10G
image:
application: docker.io/confluentinc/cp-server:7.7.0
init: confluentinc/confluent-init-container:2.9.0
tls:
autoGeneratedCerts: true
replicas: 3
---
apiVersion: platform.confluent.io/v1beta1
kind: KafkaRestClass
metadata:
name: krc-cfk
namespace: confluent
spec:
kafkaClusterRef:
name: kafka
kafkaRest:
endpoint: http://kafka.confluent.svc.cluster.local:8090
---
apiVersion: platform.confluent.io/v1beta1
kind: KafkaTopic
metadata:
name: demotopic
namespace: confluent
spec:
kafkaRestClassRef:
name: krc-cfk
replicas: 3
partitionCount: 4
configs:
cleanup.policy: "delete"