New alert service

This commit is contained in:
Urtzi Alfaro
2025-12-05 20:07:01 +01:00
parent 1fe3a73549
commit 667e6e0404
393 changed files with 26002 additions and 61033 deletions

View File

@@ -25,18 +25,18 @@ spec:
- |
echo "Waiting 30 seconds for alert-processor-migration to complete..."
sleep 30
- name: wait-for-alert-processor-api
- name: wait-for-alert-processor
image: curlimages/curl:latest
command:
- sh
- -c
- |
echo "Waiting for alert-processor-api to be ready..."
until curl -f http://alert-processor-api.bakery-ia.svc.cluster.local:8010/health > /dev/null 2>&1; do
echo "alert-processor-api not ready yet, waiting..."
echo "Waiting for alert-processor to be ready..."
until curl -f http://alert-processor.bakery-ia.svc.cluster.local:8000/health > /dev/null 2>&1; do
echo "alert-processor not ready yet, waiting..."
sleep 5
done
echo "alert-processor-api is ready!"
echo "alert-processor is ready!"
containers:
- name: seed-alerts
image: bakery/alert-processor:latest

View File

@@ -18,18 +18,18 @@ spec:
app: demo-seed-alerts-retail
spec:
initContainers:
- name: wait-for-alert-processor-service
- name: wait-for-alert-processor
image: curlimages/curl:latest
command:
- sh
- -c
- |
echo "Waiting for alert-processor-api to be ready..."
until curl -f http://alert-processor-api.bakery-ia.svc.cluster.local:8010/health > /dev/null 2>&1; do
echo "alert-processor-api not ready yet, waiting..."
echo "Waiting for alert-processor to be ready..."
until curl -f http://alert-processor.bakery-ia.svc.cluster.local:8000/health > /dev/null 2>&1; do
echo "alert-processor not ready yet, waiting..."
sleep 5
done
echo "alert-processor-api is ready!"
echo "alert-processor is ready!"
containers:
- name: seed-alerts-retail
image: bakery/alert-processor:latest