[STRIMZI] Fix random node port allocation 92/128392/2
authorefiacor <fiachra.corcoran@est.tech>
Fri, 8 Apr 2022 09:59:52 +0000 (10:59 +0100)
committerefiacor <fiachra.corcoran@est.tech>
Fri, 8 Apr 2022 11:39:55 +0000 (12:39 +0100)
Assign fixed nodeports for strimzi

Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: Ib28d18ac0825523e897c529ca13712d2fc83ee67
Issue-ID: OOM-2960

kubernetes/strimzi/templates/strimzi-kafka.yaml
kubernetes/strimzi/values.yaml

index cfd2ef1..a94879b 100644 (file)
@@ -46,6 +46,14 @@ spec:
         tls: true
         authentication:
           type: tls
+        configuration:
+          bootstrap:
+            nodePort: {{ .Values.global.nodePortPrefixExt }}91
+          brokers:
+            - broker: 0
+              nodePort: {{ .Values.global.nodePortPrefixExt }}92
+            - broker: 1
+              nodePort: {{ .Values.global.nodePortPrefixExt }}93
     authorization:
       type: simple
       superUsers:
index e8db803..9e63c2c 100644 (file)
@@ -16,7 +16,7 @@
 # Global configuration defaults.
 #################################################################
 global:
-  nodePortPrefix: 302
+  nodePortPrefixExt: 304
   persistence:
     mountPath: /dockerdata-nfs