Files
Stefan Prodan 72c51ed43b deploy: Add warm-cache CronJob
- Introduced a new `warm-cache` CronJob to periodically preload the cache.
- Added supporting scripts (`warm-cache.sh`, `warm-cache-init.sh`) to manage the cache warm-up process.
- Configured `ServiceAccount` for the frontend deployment to enhance security.
- Adjusted HPA minimum replicas from 1 to 2 for better availability.
- Set frontend deployment to use debug log level.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2026-06-18 11:44:39 +03:00

16 lines
348 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- serviceaccount.yaml
- service.yaml
- deployment.yaml
- hpa.yaml
- cronjob-warm-cache.yaml
configMapGenerator:
- name: warm-cache-script
files:
- scripts/warm-cache.sh
- scripts/warm-cache-init.sh
options:
disableNameSuffixHash: true