Skip to content

Instantly share code, notes, and snippets.

@ksingh7
Last active July 1, 2020 05:16
Show Gist options
  • Save ksingh7/61d5a62c9885078719cc16b260d107c9 to your computer and use it in GitHub Desktop.
Save ksingh7/61d5a62c9885078719cc16b260d107c9 to your computer and use it in GitHub Desktop.
Kafka Cluster k8s configuration file
apiVersion: kafka.strimzi.io/v1beta1
kind: Kafka
metadata:
name: my-cluster
labels:
app: my-cluster
spec:
kafka:
version: 2.5.0
replicas: 3
listeners:
plain: {}
tls: {}
external:
type: route
readinessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
livenessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
config:
offsets.topic.replication.factor: 3
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 2
log.message.format.version: '2.5'
storage:
type: persistent-claim
size: 50Gi
deleteClaim: true
zookeeper:
replicas: 3
readinessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
livenessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
storage:
type: persistent-claim
size: 10Gi
deleteClaim: true
entityOperator:
topicOperator: {}
userOperator: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment