Strimzi kafka - Ingress #8234
k8sapps123
started this conversation in
General
Replies: 1 comment 2 replies
-
If you format the YAML as a code, it will be readable and it would be possible to say if it looks good. But to be honest, I'm not sure I understood what exactly the issue you have is - can you clarify that? The title suggests you have some Ingress issue. But the first sentence suddenly talks about ZooKeeper. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are trying to do Ingress for strimzi kafka but everytime kafka pod is not creating where as Zookeeper pod is creating. Below is the configuration used for the same:
Reference doc: https://strimzi.io/blog/2019/05/23/accessing-kafka-part-5/
apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
name: dev
spec:
kafka:
version: 3.2.0
replicas: 1
listeners:
- name: plain
port: 9092
type: internal
tls: false
- name: tls
port: 9093
type: internal
tls: true
authentication:
type: tls
- name: external
port: 9094
type: ingress
tls: true
configuration:
bootstrap:
host: dev-kafka-bootstrap.dev.sree.com
annotations:
external-dns.alpha.kubernetes.io/hostname: dev-kafka-bootstrap.dev.sree.com.
external-dns.alpha.kubernetes.io/ttl: "60"
brokers:
- broker: 0
host: dev-kafka-broker-0.dev.sree.com
annotations:
external-dns.alpha.kubernetes.io/hostname: dev-kafka-broker-0.dev.sree.com.
external-dns.alpha.kubernetes.io/ttl: "60"
- broker: 1
host: dev-kafka-broker-1.dev.sree.com
annotations:
external-dns.alpha.kubernetes.io/hostname: dev-kafka-broker-1.dev.sree.com.
external-dns.alpha.kubernetes.io/ttl: "60"
- broker: 2
host: dev-kafka-broker-2.dev.sree.com
annotations:
external-dns.alpha.kubernetes.io/hostname: dev-kafka-broker-2.dev.sree.com.
external-dns.alpha.kubernetes.io/ttl: "60"
authorization:
type: simple
config:
offsets.topic.replication.factor: 1
transaction.state.log.replication.factor: 1
transaction.state.log.min.isr: 1
default.replication.factor: 1
min.insync.replicas: 1
inter.broker.protocol.version: "3.2"
storage:
type: ephemeral
zookeeper:
replicas: 1
storage:
type: ephemeral
entityOperator:
topicOperator: {}
userOperator: {}
Please let us know is there any problem with above yaml? Is there any alternative approach to do ingress for strimzi kafka?
Beta Was this translation helpful? Give feedback.
All reactions