Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- apiVersion: kafka.strimzi.io/v1beta2
- kind: Kafka
- metadata:
- name: test-kafka
- annotations:
- strimzi.io/node-pools: enabled
- strimzi.io/kraft: enabled
- labels:
- owner_team: ops-dba
- spec:
- kafka:
- version: 3.7.1
- metadataVersion: 3.7-IV4
- logging:
- type: inline
- loggers:
- kafka.root.logger.level: INFO
- template:
- pod:
- metadata:
- labels:
- owner_team: ops-dba
- resources:
- requests:
- memory: 4Gi
- cpu: "200m"
- limits:
- memory: 4Gi
- cpu: "1"
- listeners:
- - name: plain
- port: 9092
- type: internal
- tls: false
- - name: tls
- port: 9093
- type: internal
- tls: true
- authentication:
- type: tls
- authorization:
- type: simple
- superUsers:
- - ANONYMOUS
- metricsConfig:
- type: jmxPrometheusExporter
- valueFrom:
- configMapKeyRef:
- name: kafka-metrics
- key: kafka-metrics-config.yml
- config:
- auto.create.topics.enable: "true"
- offsets.topic.replication.factor: 3
- transaction.state.log.replication.factor: 3
- transaction.state.log.min.isr: 2
- default.replication.factor: 3
- min.insync.replicas: 2
- #metricsConfig:
- # type: jmxPrometheusExporter
- # valueFrom:
- # configMapKeyRef:
- # name: my-config-map
- # key: my-key
- jvmOptions:
- "-XX":
- "UseG1GC": "true"
- "ExplicitGCInvokesConcurrent": "true"
- "G1HeapRegionSize": "16M"
- "InitiatingHeapOccupancyPercent": "35"
- "MaxGCPauseMillis": "20"
- entityOperator:
- topicOperator: {}
- userOperator: {}
- kafkaExporter:
- topicRegex: ".*"
- groupRegex: ".*"
- # cruiseControl: {}
- ---
- apiVersion: kafka.strimzi.io/v1beta2
- kind: KafkaNodePool
- metadata:
- name: test-controller
- labels:
- strimzi.io/cluster: test-kafka
- spec:
- replicas: 3
- roles:
- - controller
- storage:
- type: jbod
- volumes:
- - id: 0
- type: persistent-claim
- size: 1Gi
- kraftMetadata: shared
- deleteClaim: false
- ---
- apiVersion: kafka.strimzi.io/v1beta2
- kind: KafkaNodePool
- metadata:
- name: test-broker
- labels:
- strimzi.io/cluster: test-kafka
- spec:
- replicas: 3
- roles:
- - broker
- storage:
- type: jbod
- volumes:
- - id: 0
- type: persistent-claim
- size: 10Gi
- kraftMetadata: shared
- deleteClaim: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement