Skip to content

Instantly share code, notes, and snippets.

@lbroudoux
Last active October 18, 2021 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lbroudoux/733d046916612e48f70af55a45b73e96 to your computer and use it in GitHub Desktop.
Save lbroudoux/733d046916612e48f70af55a45b73e96 to your computer and use it in GitHub Desktop.
Strimzi cluster with mtls authentication #strimzi #openshift
apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
name: mtls-cluster
spec:
entityOperator:
topicOperator: {}
userOperator: {}
kafka:
config:
inter.broker.protocol.version: '2.8'
log.message.format.version: '2.8'
offsets.topic.replication.factor: 3
transaction.state.log.min.isr: 2
transaction.state.log.replication.factor: 3
listeners:
- name: plain
port: 9092
tls: false
type: internal
- name: tls
port: 9093
tls: true
type: internal
- name: external
port: 9094
tls: true
type: route
authentication:
type: tls
replicas: 3
storage:
type: ephemeral
version: 2.8.0
zookeeper:
replicas: 3
storage:
type: ephemeral
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment