mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-03-19 23:10:14 +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>
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
## @section Common parameters
|
|
##
|
|
## @param size Persistent Volume size
|
|
size: 10Gi
|
|
## @param storageClass StorageClass used to store the data
|
|
storageClass: ""
|
|
## @param external Enable external access from outside the cluster
|
|
external: false
|
|
## @section Application-specific parameters
|
|
|
|
## @param endpoints Endpoints configuration
|
|
## Example:
|
|
## endpoints:
|
|
## - 10.100.3.1:80
|
|
## - 10.100.3.11:80
|
|
## - 10.100.3.2:80
|
|
## - 10.100.3.12:80
|
|
## - 10.100.3.3:80
|
|
## - 10.100.3.13:80
|
|
##
|
|
endpoints: []
|
|
|
|
## @section HAProxy parameters
|
|
haproxy:
|
|
## @param haproxy.replicas Number of HAProxy replicas
|
|
replicas: 2
|
|
## @param haproxy.resources Explicit CPU and memory configuration for each HAProxy replica. When left empty, the preset defined in `resourcesPreset` is applied.
|
|
resources: {}
|
|
# resources:
|
|
# cpu: 4000m
|
|
# memory: 4Gi
|
|
|
|
## @param haproxy.resourcesPreset Default sizing preset used when `resources` is omitted. Allowed values: nano, micro, small, medium, large, xlarge, 2xlarge.
|
|
resourcesPreset: "nano"
|
|
|
|
## @section Nginx parameters
|
|
nginx:
|
|
## @param nginx.replicas Number of Nginx replicas
|
|
replicas: 2
|
|
## @param nginx.resources Explicit CPU and memory configuration for each nginx replica. When left empty, the preset defined in `resourcesPreset` is applied.
|
|
resources: {}
|
|
# resources:
|
|
# cpu: 4000m
|
|
# memory: 4Gi
|
|
|
|
## @param nginx.resourcesPreset Default sizing preset used when `resources` is omitted. Allowed values: nano, micro, small, medium, large, xlarge, 2xlarge.
|
|
resourcesPreset: "nano"
|