From 6866b3c06e235f4b00c33131f824afd29b8e6b28 Mon Sep 17 00:00:00 2001 From: Kai Hudalla Date: Sun, 28 Jan 2024 15:39:58 +0100 Subject: [PATCH] Use KRaft mode for Sandbox deployment Adapted Kafka configuration properties to use single node Kafka instance in KRaft mode based on bitnami/kafka chart version ^26.8. --- deploy/src/main/sandbox/hono-values.yml | 45 +++++++++++-------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/deploy/src/main/sandbox/hono-values.yml b/deploy/src/main/sandbox/hono-values.yml index d8f9891c22..b7ab6b3e73 100644 --- a/deploy/src/main/sandbox/hono-values.yml +++ b/deploy/src/main/sandbox/hono-values.yml @@ -205,6 +205,7 @@ commandRouterService: limits: memory: "120Mi" +# assumes bitnami/kafka chart version ^26.8 kafka: ## @param logFlushIntervalMessages The number of messages to accept before forcing a flush of data to disk ## @@ -224,39 +225,31 @@ kafka: ## @param logSegmentBytes The maximum size of a log segment file. When this size is reached a new log segment will be created ## 10MB logSegmentBytes: _10485760 - auth: - tls: - type: "pem" - pemChainIncluded: true - existingSecrets: - - "sandbox-tls" + tls: + type: "PEM" + pemChainIncluded: true + existingSecret: "sandbox-tls" externalAccess: + enabled: true autoDiscovery: enabled: false - service: - type: "LoadBalancer" - loadBalancerIPs: - - "hono.eclipseprojects.io" - nodePorts: [] + broker: + service: + type: "LoadBalancer" + loadBalancerIPs: + - "hono.eclipseprojects.io" + nodePorts: [] + controller: + service: + type: "LoadBalancer" + loadBalancerIPs: + - "hono.eclipseprojects.io" + nodePorts: [] + serviceAccount: create: false rbac: create: false - heapOpts: "-Xms650M -Xmx650M" - resources: - requests: - cpu: "50m" - memory: "800Mi" - limits: - memory: "800Mi" - zookeeper: - heapSize: 300 - resources: - requests: - cpu: "50m" - memory: "400Mi" - limits: - memory: "400Mi" jaegerBackendExample: enabled: false