mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
86 lines
2.5 KiB
YAML
86 lines
2.5 KiB
YAML
##
|
|
## @section Common parameters
|
|
##
|
|
|
|
## @param {bool} external - Enable external access from outside the cluster.
|
|
external: false
|
|
|
|
##
|
|
## @section Application-specific parameters
|
|
##
|
|
|
|
## @typedef {struct} Topic - Topic configuration.
|
|
## @field {string} name - Topic name.
|
|
## @field {int} partitions - Number of partitions.
|
|
## @field {int} replicas - Number of replicas.
|
|
## @field {object} config - Topic configuration.
|
|
|
|
## @param {[]Topic} topics - Topics configuration.
|
|
topics: []
|
|
## Example:
|
|
## 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
|
|
|
|
##
|
|
## @section Kafka configuration
|
|
##
|
|
|
|
## @typedef {struct} Resources - Explicit CPU and memory configuration for each replica.
|
|
## @field {quantity} [cpu] - CPU available to each replica.
|
|
## @field {quantity} [memory] - Memory (RAM) available to each replica.
|
|
|
|
## @enum {string} ResourcesPreset - Default sizing preset.
|
|
## @value nano
|
|
## @value micro
|
|
## @value small
|
|
## @value medium
|
|
## @value large
|
|
## @value xlarge
|
|
## @value 2xlarge
|
|
|
|
## @typedef {struct} Kafka - Kafka configuration.
|
|
## @field {int} replicas - Number of Kafka replicas.
|
|
## @field {Resources} [resources] - Explicit CPU and memory configuration. When omitted, the preset defined in `resourcesPreset` is applied.
|
|
## @field {ResourcesPreset} resourcesPreset - Default sizing preset used when `resources` is omitted.
|
|
## @field {quantity} size - Persistent Volume size for Kafka.
|
|
## @field {string} storageClass - StorageClass used to store the Kafka data.
|
|
|
|
## @param {Kafka} kafka - Kafka configuration.
|
|
kafka:
|
|
replicas: 3
|
|
resources: {}
|
|
resourcesPreset: "small"
|
|
size: 10Gi
|
|
storageClass: ""
|
|
|
|
##
|
|
## @section ZooKeeper configuration
|
|
##
|
|
|
|
## @typedef {struct} ZooKeeper - ZooKeeper configuration.
|
|
## @field {int} replicas - Number of ZooKeeper replicas.
|
|
## @field {Resources} [resources] - Explicit CPU and memory configuration. When omitted, the preset defined in `resourcesPreset` is applied.
|
|
## @field {ResourcesPreset} resourcesPreset - Default sizing preset used when `resources` is omitted.
|
|
## @field {quantity} size - Persistent Volume size for ZooKeeper.
|
|
## @field {string} storageClass - StorageClass used to store the ZooKeeper data.
|
|
|
|
## @param {ZooKeeper} zookeeper - ZooKeeper configuration.
|
|
zookeeper:
|
|
replicas: 3
|
|
resources: {}
|
|
resourcesPreset: "small"
|
|
size: 5Gi
|
|
storageClass: ""
|