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
useJsonLogFormat: false # Enables structured JSON logging
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:
repository: lightruncom/webapp
tag: ""
pullPolicy: IfNotPresent
resources:
cpu: 100m # CPU limit
memory: 128Mi # Memory limit
podLabels: {}
podAnnotations: {}
annotations: {} # Deprecated in favor of podAnnotations
extraEnvs: []
podSecurityContext: {}
containerSecurityContext: {}
service:
annotations: {}
labels: {}
extraVolumes: []
extraVolumeMounts: []
podDisruptionBudget: {}
topologySpreadConstraints: []
affinity: {}
livenessProbe:
initialDelaySeconds: 10
periodSeconds: 20
timeoutSeconds: 10
successThreshold: 1
failureThreshold: 3
readinessProbe:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3