Created
November 25, 2020 12:04
-
-
Save MaxRink/0c4ab02864a1a709bf6131d0bc124cd1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: kafka.strimzi.io/v1beta1 | |
kind: Kafka | |
metadata: | |
name: test-cluster | |
namespace: kafka | |
spec: | |
kafka: | |
version: 2.6.0 | |
replicas: 3 | |
resources: | |
requests: | |
memory: 20Gi | |
cpu: "6" | |
limits: | |
memory: 20Gi | |
cpu: "12" | |
jvmOptions: | |
-Xms: 8192m | |
-Xmx: 8192m | |
listeners: | |
- name: plain | |
port: 9092 | |
type: internal | |
tls: false | |
- name: tls | |
port: 9093 | |
type: internal | |
tls: true | |
# - name: external1 | |
# port: 9094 | |
# type: loadbalancer | |
# tls: true | |
# authentication: | |
# type: tls | |
rack: | |
topologyKey: kubernetes.io/hostname | |
metrics: {} | |
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.6" | |
storage: | |
type: persistent-claim | |
size: 1000Gi | |
class: pure-block | |
deleteClaim: true | |
template: | |
pod: | |
affinity: | |
podAntiAffinity: | |
preferredDuringSchedulingIgnoredDuringExecution: | |
- weight: 100 | |
podAffinityTerm: | |
labelSelector: | |
matchLabels: | |
elasticsearch.k8s.elastic.co/cluster-name: data-cluster | |
topologyKey: kubernetes.io/hostname | |
zookeeper: | |
replicas: 3 | |
storage: | |
type: persistent-claim | |
size: 1000Gi | |
class: pure-block | |
deleteClaim: true | |
entityOperator: | |
topicOperator: {} | |
userOperator: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment