Improve kubernetes for prod
This commit is contained in:
@@ -17,22 +17,18 @@ spec:
|
||||
app: demo-seed-orchestrator
|
||||
spec:
|
||||
initContainers:
|
||||
- name: wait-for-orchestrator-migration
|
||||
image: busybox:1.36
|
||||
- name: wait-for-orchestrator-service
|
||||
image: curlimages/curl:latest
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
echo "⏳ Waiting 30 seconds for orchestrator-migration to complete..."
|
||||
sleep 30
|
||||
- name: wait-for-procurement-seed
|
||||
image: busybox:1.36
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
echo "⏳ Waiting 15 seconds for demo-seed-procurement to complete..."
|
||||
sleep 15
|
||||
echo "Waiting for orchestrator-service to be ready..."
|
||||
until curl -f http://orchestrator-service.bakery-ia.svc.cluster.local:8000/health/ready > /dev/null 2>&1; do
|
||||
echo "orchestrator-service not ready yet, waiting..."
|
||||
sleep 5
|
||||
done
|
||||
echo "orchestrator-service is ready!"
|
||||
containers:
|
||||
- name: seed-orchestrator
|
||||
image: bakery/orchestrator-service:latest
|
||||
|
||||
Reference in New Issue
Block a user