Frontend Service¶
The frontend service provides the user interface and interacts with backend services. It is deployed as a Kubernetes pod and can be configured for scaling, resource allocation, and health monitoring. configuration is defined under deployments.frontend
in the values.yaml
Configuration Options¶
General Settings¶
useJsonLogFormat: false # Enables structured JSON logging
Horizontal Pod Autoscaling (HPA) And Replicas¶
hpa:
enabled: false # Enables or disables HPA
cpu: 70 # Target CPU utilization percentage
maxReplicas: 5 # Maximum number of replicas
replicas: 1 # Default number of replicas
Image Configuration¶
image:
repository: lightruncom/webapp
tag: ""
pullPolicy: IfNotPresent
Resource Allocation¶
resources:
cpu: 100m # CPU limit
memory: 128Mi # Memory limit
Pod Labels & Annotations¶
podLabels: {}
podAnnotations: {}
annotations: {} # Deprecated in favor of podAnnotations
Extra Environment Variables¶
extraEnvs: []
Security Contexts¶
podSecurityContext: {}
containerSecurityContext: {}
Service Annotations & Labels¶
service:
annotations: {}
labels: {}
Volumes¶
extraVolumes: []
extraVolumeMounts: []
Pod Disruption Budget & Scheduling¶
podDisruptionBudget: {}
topologySpreadConstraints: []
affinity: {}
Health Probes¶
livenessProbe:
initialDelaySeconds: 10
periodSeconds: 20
timeoutSeconds: 10
successThreshold: 1
failureThreshold: 3
readinessProbe:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3
Last update: June 11, 2025