mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-08-21 13:16:41 +00:00
- 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>
16 lines
348 B
YAML
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
|