The backend component is responsible for handling core application logic and interactions with the database, message queues, and other services. This document outlines the configurable parameters available for backend deployment.
configuration is defined under deployments.backend
in the values.yaml
backend:
useJsonLogFormat: false # Enables structured JSON logging
hpa:
enabled: false # Enables or disables HPA
cpu: 50 # Target CPU utilization percentage
maxReplicas: 5 # Maximum number of replicas
replicas: 1 # Default number of replicas
rollout_strategy: "Recreate" # Defines the rollout strategy
Note: The
rollout_strategy
should not be changed while upgrading Lightrun version.
image:
repository: lightruncom/server
tag: ""
pullPolicy: IfNotPresent
resources:
cpu: 3000m # CPU limit
memory: 7Gi # Memory limit
podLabels: {}
podAnnotations: {}
annotations: {} # Deprecated in favor of podAnnotations
artifacts:
enable: true
repository_url: https://artifacts.lightrun.com/
supported_versions_url: https://artifacts.lightrun.com/supported-versions.json
resolution_mode: latest
extraEnvs: []
podSecurityContext: {}
containerSecurityContext: {}
service:
annotations: {}
labels: {}
extraVolumes: []
extraVolumeMounts: []
initContainers:
wait_for_keycloak:
image:
repository: lightruncom/chart-helper
tag: latest
pullPolicy: ""
p12_creator:
image:
repository: lightruncom/chart-helper
tag: latest
pullPolicy: ""
wait_for_rabbitmq:
image:
repository: lightruncom/chart-helper
tag: latest
pullPolicy: ""
podDisruptionBudget: {}
topologySpreadConstraints: []
affinity: {}
lifecycle:
preStop:
exec:
command: ["sh", "-c", "sleep 10"]
terminationGracePeriodSeconds: 45
startupProbe:
path: /management/health/readiness
failureThreshold: 60
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
livenessProbe:
initialDelaySeconds: 200
periodSeconds: 50
timeoutSeconds: 30
successThreshold: 1
failureThreshold: 3
path: /version
readinessProbe:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3
path: /management/health/readiness