aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/strimzi
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2022-04-08 10:59:52 +0100
committerefiacor <fiachra.corcoran@est.tech>2022-04-08 12:39:55 +0100
commitaf68a7e90fd066833f70bd9ad013c2f92f9e9c4d (patch)
tree9375aaaaf26e0e1eb67ec4a2c4082249a3366b26 /kubernetes/strimzi
parent130ff807c0a4f7d4f6217fd5a66c11e24ccf5bee (diff)
[STRIMZI] Fix random node port allocation
Assign fixed nodeports for strimzi Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ib28d18ac0825523e897c529ca13712d2fc83ee67 Issue-ID: OOM-2960
Diffstat (limited to 'kubernetes/strimzi')
-rw-r--r--kubernetes/strimzi/templates/strimzi-kafka.yaml8
-rw-r--r--kubernetes/strimzi/values.yaml2
2 files changed, 9 insertions, 1 deletions
diff --git a/kubernetes/strimzi/templates/strimzi-kafka.yaml b/kubernetes/strimzi/templates/strimzi-kafka.yaml
index cfd2ef13cc..a94879b8a0 100644
--- a/kubernetes/strimzi/templates/strimzi-kafka.yaml
+++ b/kubernetes/strimzi/templates/strimzi-kafka.yaml
@@ -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:
diff --git a/kubernetes/strimzi/values.yaml b/kubernetes/strimzi/values.yaml
index e8db803f94..9e63c2c131 100644
--- a/kubernetes/strimzi/values.yaml
+++ b/kubernetes/strimzi/values.yaml
@@ -16,7 +16,7 @@
# Global configuration defaults.
#################################################################
global:
- nodePortPrefix: 302
+ nodePortPrefixExt: 304
persistence:
mountPath: /dockerdata-nfs