mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 07:21:36 +01:00
fix(cryptpad): Make autoscaling templatable through technical.cryptpad.autoscaling.*
This commit is contained in:
@@ -17,7 +17,11 @@ application_config:
|
|||||||
# - "diagram"
|
# - "diagram"
|
||||||
|
|
||||||
autoscaling:
|
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:
|
config:
|
||||||
maxWorkers: {{ .Values.technical.cryptpad.maxWorkers }}
|
maxWorkers: {{ .Values.technical.cryptpad.maxWorkers }}
|
||||||
|
|||||||
@@ -8,6 +8,18 @@ technical:
|
|||||||
# Define how many child processes are initially spawned, even without any user accessing Cryptpad.
|
# 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
|
# Ref.: https://github.com/cryptpad/cryptpad/blob/0dd3c1f53d56dffb06651b86ead6b9b387920173/config/config.example.js#L111
|
||||||
maxWorkers: 4
|
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 related technical settings
|
||||||
collabora:
|
collabora:
|
||||||
|
|||||||
Reference in New Issue
Block a user