mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-03-21 06:41:12 +00:00
Use the same order for values in all applications: 1. Common configuration parameters in the specified order, if exist: - replicas - shards - resources - resourcesPreset - size - storageClass - external (goes last, because we don't want to promote this practice) 2. Application-specific parameters, such as database and users 3. Component-specific, each component under its own section 4. Backup 5. Bootstrap (recovery) Signed-off-by: Nick Volynkin <nick.volynkin@gmail.com>
59 lines
2.0 KiB
YAML
59 lines
2.0 KiB
YAML
## @section Common parameters
|
|
##
|
|
## @param replicas Number of Clickhouse replicas
|
|
replicas: 2
|
|
## @param shards Number of Clickhouse shards
|
|
shards: 1
|
|
## @param resources Explicit CPU and memory configuration for each ClickHouse replica. When left empty, the preset defined in `resourcesPreset` is applied.
|
|
resources: {}
|
|
# resources:
|
|
# cpu: 4000m
|
|
# memory: 4Gi
|
|
|
|
## @param resourcesPreset Default sizing preset used when `resources` is omitted. Allowed values: nano, micro, small, medium, large, xlarge, 2xlarge.
|
|
resourcesPreset: "small"
|
|
## @param size Persistent Volume Claim size, available for application data
|
|
size: 10Gi
|
|
## @param storageClass StorageClass used to store the application data
|
|
storageClass: ""
|
|
|
|
|
|
## @section Application-specific parameters
|
|
##
|
|
## @param logStorageSize Size of Persistent Volume for logs
|
|
logStorageSize: 2Gi
|
|
## @param logTTL TTL (expiration time) for query_log and query_thread_log
|
|
logTTL: 15
|
|
## @param users [object] Users configuration
|
|
## Example:
|
|
## users:
|
|
## user1:
|
|
## password: strongpassword
|
|
## user2:
|
|
## readonly: true
|
|
## password: hackme
|
|
##
|
|
users: {}
|
|
|
|
|
|
## @section Backup parameters
|
|
|
|
## @param backup.enabled Enable periodic backups
|
|
## @param backup.s3Region AWS S3 region where backups are stored
|
|
## @param backup.s3Bucket S3 bucket used for storing backups
|
|
## @param backup.schedule Cron schedule for automated backups
|
|
## @param backup.cleanupStrategy Retention strategy for cleaning up old backups
|
|
## @param backup.s3AccessKey Access key for S3, used for authentication
|
|
## @param backup.s3SecretKey Secret key for S3, used for authentication
|
|
## @param backup.resticPassword Password for Restic backup encryption
|
|
backup:
|
|
enabled: false
|
|
s3Region: us-east-1
|
|
s3Bucket: s3.example.org/clickhouse-backups
|
|
schedule: "0 2 * * *"
|
|
cleanupStrategy: "--keep-last=3 --keep-daily=3 --keep-within-weekly=1m"
|
|
s3AccessKey: oobaiRus9pah8PhohL1ThaeTa4UVa7gu
|
|
s3SecretKey: ju3eum4dekeich9ahM1te8waeGai0oog
|
|
resticPassword: ChaXoveekoh6eigh4siesheeda2quai0
|
|
|