From e4cb747d70bb70591aa5dda29e59c3f121f70bf3 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Thu, 7 Sep 2023 22:01:04 +0800 Subject: [PATCH] schema-registry nodeport --- dev-upgrade/kafka/kafka-dev.yaml | 5 +++++ sdet-upgrade/kafka/kafka.yaml | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dev-upgrade/kafka/kafka-dev.yaml b/dev-upgrade/kafka/kafka-dev.yaml index 975782b..c3b5dbb 100644 --- a/dev-upgrade/kafka/kafka-dev.yaml +++ b/dev-upgrade/kafka/kafka-dev.yaml @@ -100,3 +100,8 @@ spec: image: application: confluentinc/cp-schema-registry:7.4.0 init: confluentinc/confluent-init-container:2.6.0 + externalAccess: + type: nodePort + nodePort: + host: 10.2.0.13 + nodePortOffset: 30031 \ No newline at end of file diff --git a/sdet-upgrade/kafka/kafka.yaml b/sdet-upgrade/kafka/kafka.yaml index d57b760..4e9ed6f 100644 --- a/sdet-upgrade/kafka/kafka.yaml +++ b/sdet-upgrade/kafka/kafka.yaml @@ -94,4 +94,9 @@ spec: topologyKey: kubernetes.io/hostname image: application: confluentinc/cp-schema-registry:7.4.0 - init: confluentinc/confluent-init-container:2.6.0 \ No newline at end of file + init: confluentinc/confluent-init-container:2.6.0 + externalAccess: + type: nodePort + nodePort: + host: 10.2.0.10 + nodePortOffset: 30035 \ No newline at end of file