Files
podinfo/deploy
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
..
2026-06-18 11:44:39 +03:00
2026-02-01 11:45:23 +02:00
2026-06-04 23:38:30 +03:00
2021-01-28 13:05:34 +02:00

Deploy demo webapp

Demo webapp manifests:

Deploy the demo in webapp namespace:

kubectl apply -f ./webapp/common
kubectl apply -f ./webapp/backend
kubectl apply -f ./webapp/frontend

Deploy the demo in the dev namespace:

kustomize build ./overlays/dev | kubectl apply -f-

Deploy the demo in the staging namespace:

kustomize build ./overlays/staging | kubectl apply -f-

Deploy the demo in the production namespace:

kustomize build ./overlays/production | kubectl apply -f-

Testing Locally Using Kind

NOTE: You can install kind from here

The following will create a new cluster called "podinfo" and configure host ports on 80 and 443. You can access the endpoints on localhost. The example also deploys cert-manager within the cluster along with a self-signed cluster issuer used to generate the certificate to validate the secure port.

./kind.sh