Advertisement
Shodan76

Untitled

Jul 29th, 2024
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. ---
  2. apiVersion: kafka.strimzi.io/v1beta2
  3. kind: Kafka
  4. metadata:
  5. name: test-kafka
  6. annotations:
  7. strimzi.io/node-pools: enabled
  8. strimzi.io/kraft: enabled
  9. labels:
  10. owner_team: ops-dba
  11. spec:
  12. kafka:
  13. version: 3.7.1
  14. metadataVersion: 3.7-IV4
  15. logging:
  16. type: inline
  17. loggers:
  18. kafka.root.logger.level: INFO
  19. template:
  20. pod:
  21. metadata:
  22. labels:
  23. owner_team: ops-dba
  24. resources:
  25. requests:
  26. memory: 4Gi
  27. cpu: "200m"
  28. limits:
  29. memory: 4Gi
  30. cpu: "1"
  31. listeners:
  32. - name: plain
  33. port: 9092
  34. type: internal
  35. tls: false
  36. - name: tls
  37. port: 9093
  38. type: internal
  39. tls: true
  40. authentication:
  41. type: tls
  42. authorization:
  43. type: simple
  44. superUsers:
  45. - ANONYMOUS
  46. metricsConfig:
  47. type: jmxPrometheusExporter
  48. valueFrom:
  49. configMapKeyRef:
  50. name: kafka-metrics
  51. key: kafka-metrics-config.yml
  52. config:
  53. auto.create.topics.enable: "true"
  54. offsets.topic.replication.factor: 3
  55. transaction.state.log.replication.factor: 3
  56. transaction.state.log.min.isr: 2
  57. default.replication.factor: 3
  58. min.insync.replicas: 2
  59. #metricsConfig:
  60. # type: jmxPrometheusExporter
  61. # valueFrom:
  62. # configMapKeyRef:
  63. # name: my-config-map
  64. # key: my-key
  65. jvmOptions:
  66. "-XX":
  67. "UseG1GC": "true"
  68. "ExplicitGCInvokesConcurrent": "true"
  69. "G1HeapRegionSize": "16M"
  70. "InitiatingHeapOccupancyPercent": "35"
  71. "MaxGCPauseMillis": "20"
  72. entityOperator:
  73. topicOperator: {}
  74. userOperator: {}
  75. kafkaExporter:
  76. topicRegex: ".*"
  77. groupRegex: ".*"
  78. # cruiseControl: {}
  79. ---
  80. apiVersion: kafka.strimzi.io/v1beta2
  81. kind: KafkaNodePool
  82. metadata:
  83. name: test-controller
  84. labels:
  85. strimzi.io/cluster: test-kafka
  86. spec:
  87. replicas: 3
  88. roles:
  89. - controller
  90. storage:
  91. type: jbod
  92. volumes:
  93. - id: 0
  94. type: persistent-claim
  95. size: 1Gi
  96. kraftMetadata: shared
  97. deleteClaim: false
  98. ---
  99. apiVersion: kafka.strimzi.io/v1beta2
  100. kind: KafkaNodePool
  101. metadata:
  102. name: test-broker
  103. labels:
  104. strimzi.io/cluster: test-kafka
  105. spec:
  106. replicas: 3
  107. roles:
  108. - broker
  109. storage:
  110. type: jbod
  111. volumes:
  112. - id: 0
  113. type: persistent-claim
  114. size: 10Gi
  115. kraftMetadata: shared
  116. deleteClaim: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement