You are viewing documentation for Cozystack next, which is currently in beta. For the latest stable version, see the v1.4 documentation.

Managed Kafka Service

Both kafka.storageClass and zookeeper.storageClass are annotated as immutable in the chart schema — see docs/storage-immutability.md for the contract and which consumers enforce it.

Parameters

Common parameters

NameDescriptionTypeValue
externalEnable external access from outside the cluster.boolfalse
tlsTLS configuration. Strimzi manages the cluster PKI automatically (no cert-manager is involved for this chart): the operator auto-creates <release>-cluster-ca-cert and <release>-clients-ca-cert secrets, both exposed for client trust setup. The internal TLS listener on 9093 is always on; this toggle only controls the external listener on 9094.object{}
tls.enabledEnable TLS on the external listener. When unset, inherits the value of external (TLS is on when external access is enabled). Warning: setting this to false while external is true exposes Kafka over plaintext on a public IP via LoadBalancer. Strimzi does not provide authentication on this listener unless SCRAM, mTLS, or OAuth is separately configured. Use only in controlled networks.*boolnull

Application-specific parameters

NameDescriptionTypeValue
topicsTopics configuration.[]object[]
topics[i].nameTopic name.string""
topics[i].partitionsNumber of partitions.int0
topics[i].replicasNumber of replicas.int0
topics[i].configTopic configuration.object{}

Kafka configuration

NameDescriptionTypeValue
kafkaKafka configuration.object{}
kafka.replicasNumber of Kafka replicas.int3
kafka.resourcesExplicit CPU and memory configuration. When omitted, the preset defined in resourcesPreset is applied.object{}
kafka.resources.cpuCPU available to each replica.quantity""
kafka.resources.memoryMemory (RAM) available to each replica.quantity""
kafka.resourcesPresetDefault sizing preset used when resources is omitted.stringc1.small
kafka.sizePersistent Volume size for Kafka.quantity10Gi
kafka.storageClassStorageClass used to store the Kafka data.string""

ZooKeeper configuration

NameDescriptionTypeValue
zookeeperZooKeeper configuration.object{}
zookeeper.replicasNumber of ZooKeeper replicas.int3
zookeeper.resourcesExplicit CPU and memory configuration. When omitted, the preset defined in resourcesPreset is applied.object{}
zookeeper.resources.cpuCPU available to each replica.quantity""
zookeeper.resources.memoryMemory (RAM) available to each replica.quantity""
zookeeper.resourcesPresetDefault sizing preset used when resources is omitted.stringc1.small
zookeeper.sizePersistent Volume size for ZooKeeper.quantity5Gi
zookeeper.storageClassStorageClass used to store the ZooKeeper data.string""

Parameter examples and reference

resources and resourcesPreset

resources sets explicit CPU and memory configurations for each replica. When left empty, the preset defined in resourcesPreset is applied.

resources:
  cpu: 4000m
  memory: 4Gi

resourcesPreset sets named CPU and memory configurations for each replica. This setting is ignored if the corresponding resources value is set.

Presets follow a cloud-style <series>.<size> naming convention. Five series cover the full CPU-to-memory ratio range (t1 1:0.5, c1 1:1, s1 1:2, u1 1:4, m1 1:8) and each series ships eight sizes (nano through 4xlarge). The legacy flat names (nano, micro, small, medium, large, xlarge, 2xlarge) remain accepted as deprecated aliases of their 1:1 instance-type equivalents.

See docs/operations/resource-presets.md for the full size matrix and the legacy-to-instance-type mapping.

Authentication

This chart does not configure listener authentication. When TLS is enabled on the external listener, clients can connect without credentials. To require authentication, use Strimzi’s KafkaUser resource with an appropriate authentication type (tls, scram-sha-512, or oauth) outside this chart. See the Strimzi documentation on KafkaUser for details.

topics

topics:
  - name: Results
    partitions: 1
    replicas: 3
    config:
      min.insync.replicas: 2
  - name: Orders
    config:
      cleanup.policy: compact
      segment.ms: 3600000
      max.compaction.lag.ms: 5400000
      min.insync.replicas: 2
    partitions: 1
    replicas: 3