81 lines
1.4 KiB
YAML
81 lines
1.4 KiB
YAML
api:
|
|
replicaCount: 2
|
|
image:
|
|
repository: handheld-devices-api
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
port: 8080
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
|
|
worker:
|
|
replicaCount: 1
|
|
image:
|
|
repository: handheld-devices-worker
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
resources:
|
|
limits:
|
|
cpu: 200m
|
|
memory: 128Mi
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
|
|
frontend:
|
|
replicaCount: 1
|
|
apiUrl: "http://localhost:8080" # Override for ingress: use external URL, e.g. https://handheld.example.com
|
|
image:
|
|
repository: handheld-devices-frontend
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
port: 8090
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
memory: 64Mi
|
|
requests:
|
|
cpu: 50m
|
|
memory: 32Mi
|
|
|
|
postgres:
|
|
enabled: true
|
|
image:
|
|
repository: postgres
|
|
tag: "15-alpine"
|
|
persistence:
|
|
enabled: true
|
|
size: 1Gi
|
|
|
|
redis:
|
|
enabled: true
|
|
image:
|
|
repository: redis
|
|
tag: "7-alpine"
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: nginx
|
|
annotations: {}
|
|
hosts:
|
|
- host: handheld.example.com
|
|
paths:
|
|
- path: /api
|
|
pathType: Prefix
|
|
service: api
|
|
port: 8080
|
|
- path: /
|
|
pathType: Prefix
|
|
service: frontend
|
|
port: 8090
|
|
|
|
# Secrets - override in production or use external secret manager
|
|
dbPassword: devices_password
|