Update Scripts
This commit is contained in:
@@ -26,6 +26,10 @@ fi
|
||||
# EN: Apply Kubernetes configurations and wait for rollout
|
||||
# VI: Áp dụng cấu hình Kubernetes và đợi quá trình rollout hoàn tất
|
||||
kubectl apply -f deployments/production/kubernetes/
|
||||
kubectl rollout status deployment/iam-service -n production
|
||||
|
||||
echo "⏳ Waiting for rollout..."
|
||||
# EN: Wait for all deployments in the namespace
|
||||
# VI: Đợi tất cả deployments trong namespace
|
||||
kubectl rollout status deployment -n production --timeout=90s || echo "⚠️ Some deployments might still be updating"
|
||||
|
||||
echo "✅ Deployment completed!"
|
||||
|
||||
@@ -14,6 +14,8 @@ fi
|
||||
# EN: Apply Kubernetes configurations and wait for rollout
|
||||
# VI: Áp dụng cấu hình Kubernetes và đợi quá trình rollout hoàn tất
|
||||
kubectl apply -f deployments/staging/kubernetes/
|
||||
kubectl rollout status deployment/iam-service -n staging
|
||||
|
||||
echo "⏳ Waiting for rollout..."
|
||||
kubectl rollout status deployment -n staging --timeout=90s || echo "⚠️ Some deployments might still be updating"
|
||||
|
||||
echo "✅ Deployment completed!"
|
||||
|
||||
Reference in New Issue
Block a user