mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 23:41:43 +01:00
fix(cryptpad): Make autoscaling templatable through technical.cryptpad.autoscaling.*
This commit is contained in:
@@ -17,7 +17,11 @@ application_config:
|
||||
# - "diagram"
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
enabled: {{ .Values.technical.cryptpad.autoscaling.enabled }}
|
||||
minReplicas: {{ .Values.technical.cryptpad.autoscaling.minReplicas }}
|
||||
maxReplicas: {{ .Values.technical.cryptpad.autoscaling.maxReplicas }}
|
||||
targetCPUUtilizationPercentage: {{ .Values.technical.cryptpad.autoscaling.targetCPUUtilizationPercentage }}
|
||||
targetMemoryUtilizationPercentage: {{ .Values.technical.cryptpad.autoscaling.targetMemoryUtilizationPercentage }}
|
||||
|
||||
config:
|
||||
maxWorkers: {{ .Values.technical.cryptpad.maxWorkers }}
|
||||
|
||||
@@ -8,6 +8,18 @@ technical:
|
||||
# Define how many child processes are initially spawned, even without any user accessing Cryptpad.
|
||||
# Ref.: https://github.com/cryptpad/cryptpad/blob/0dd3c1f53d56dffb06651b86ead6b9b387920173/config/config.example.js#L111
|
||||
maxWorkers: 4
|
||||
# Autoscaling options
|
||||
autoscaling:
|
||||
# Enable the Autoscaling
|
||||
enabled: false
|
||||
# Minimal numbers of replicas
|
||||
minReplicas: 1
|
||||
# Maximum numbers of replicas
|
||||
maxReplicas: 100
|
||||
# Percentage of the targeted CPU Utilization
|
||||
targetCPUUtilizationPercentage: 80
|
||||
# Percentage of the targeted Memory Utilization
|
||||
targetMemoryUtilizationPercentage: 80
|
||||
|
||||
# Collabora related technical settings
|
||||
collabora:
|
||||
|
||||
Reference in New Issue
Block a user