open kafka external ip

main
ycz008 2024-01-18 17:35:37 +08:00
parent c01d71beaf
commit d70b666d24
1 changed files with 13 additions and 1 deletions

View File

@ -65,6 +65,13 @@ spec:
name: kafka-prod name: kafka-prod
metricReporter: metricReporter:
enabled: true enabled: true
listeners:
external:
externalAccess:
type: nodePort
nodePort:
host: kafka.beaconfireinc.com
nodePortOffset: 30001
# dependencies: # dependencies:
# 多个kakfa集群复用zk # 多个kakfa集群复用zk
# zookeeper: # zookeeper:
@ -92,4 +99,9 @@ spec:
- mq - mq
image: image:
application: confluentinc/cp-schema-registry:7.4.0 application: confluentinc/cp-schema-registry:7.4.0
init: confluentinc/confluent-init-container:2.6.0 init: confluentinc/confluent-init-container:2.6.0
externalAccess:
type: nodePort
nodePort:
host: kafka.beaconfireinc.com
nodePortOffset: 30005