Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: kafka raft #75

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/datalayer-kafka/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ maintainers:
url: https://datalayer.io
dependencies:
- name: strimzi-kafka-operator
version: "0.44.0"
repository: "https://strimzi.io/charts/"
version: "0.45.0"
repository: "https://strimzi.io/charts"
19 changes: 19 additions & 0 deletions charts/datalayer-kafka/templates/kafka-nodepool.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaNodePool
metadata:
name: {{ .Release.Name }}-node-pool
namespace: {{ .Release.Namespace }}
labels:
strimzi.io/cluster: {{ .Release.Name }}
spec:
replicas: 3
roles:
- broker
- controller
storage:
type: jbod
volumes:
- id: 0
type: persistent-claim
size: 8Gi
deleteClaim: false
34 changes: 24 additions & 10 deletions charts/datalayer-kafka/templates/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ kind: Kafka
metadata:
name: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}
annotations:
strimzi.io/node-pools: enabled
strimzi.io/kraft: enabled
spec:
kafka:
version: 3.8.0
Expand Down Expand Up @@ -41,12 +44,24 @@ spec:
type: persistent-claim
size: 8Gi
deleteClaim: false
zookeeper:
replicas: 3
storage:
type: persistent-claim
size: 8Gi
deleteClaim: false
# zookeeper:
# replicas: 3
# storage:
# type: persistent-claim
# size: 8Gi
# deleteClaim: false
# template:
# pod:
# affinity:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: role.datalayer.io/system
# operator: In
# values:
# - "true"
entityOperator:
template:
pod:
affinity:
Expand All @@ -58,7 +73,9 @@ spec:
operator: In
values:
- "true"
entityOperator:
topicOperator: {}
userOperator: {}
kafkaExporter:
template:
pod:
affinity:
Expand All @@ -70,8 +87,5 @@ spec:
operator: In
values:
- "true"
topicOperator: {}
userOperator: {}
kafkaExporter:
topicRegex: ".*"
groupRegex: ".*"
2 changes: 1 addition & 1 deletion charts/datalayer-kafka/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
telemetry:
enabled: true
strimzi:
strimzi-kafka-operator:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
Loading