Skip to content

Commit

Permalink
Use KRaft mode for Sandbox deployment
Browse files Browse the repository at this point in the history
Adapted Kafka configuration properties to use single node
Kafka instance in KRaft mode based on bitnami/kafka chart version
^26.8.
  • Loading branch information
sophokles73 committed May 22, 2024
1 parent a5338a1 commit dd71f4b
Showing 1 changed file with 27 additions and 44 deletions.
71 changes: 27 additions & 44 deletions deploy/src/main/sandbox/hono-values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,58 +205,41 @@ 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
##
logFlushIntervalMessages: _1000
## @param logFlushIntervalMs The maximum amount of time a message can sit in a log before we force a flush
##
logFlushIntervalMs: 1000
## @param logRetentionBytes A size-based retention policy for logs
## 10MB
logRetentionBytes: _10485760
## @param logRetentionCheckIntervalMs The interval at which log segments are checked to see if they can be deleted
##
logRetentionCheckIntervalMs: 300000
## @param logRetentionHours The minimum age of a log file to be eligible for deletion due to age
##
logRetentionHours: 1
## @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"
broker:
extraConfig: |
log.flush.interval.messages=1000
log.flush.interval.ms=1000
log.retention.bytes=10485760
log.retention.check.interval.ms=300000
log.retention.hours=1
log.segment.bytes=10485760
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

0 comments on commit dd71f4b

Please sign in to comment.