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 strategyNote: The
rollout_strategyshould 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 podAnnotationsextraEnvs: []The chart may also set LIGHTRUN_SECURITY_PINNED_HASHES when you define certificate.security_pinned_hashes (comma-separated SPKI SHA-256 hashes). See Managing the TLS Certificate.
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