You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/deploy-kubernetes.yml
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -161,9 +161,11 @@ jobs:
161
161
kubectl get ingress -n ${{ env.HELM_NAMESPACE }} || echo "⚠️ Could not retrieve ingress (permission issue)"
162
162
163
163
echo "🏥 Waiting for pods to be ready..."
164
-
kubectl wait --for=condition=ready pod -l app=study-mate-postgres -n ${{ env.HELM_NAMESPACE }} --timeout=300s || echo "⚠️ Could not verify PostgreSQL pod readiness"
165
-
kubectl wait --for=condition=ready pod -l app=study-mate-client -n ${{ env.HELM_NAMESPACE }} --timeout=300s || echo "⚠️ Could not verify client pod readiness"
166
-
kubectl wait --for=condition=ready pod -l app=study-mate-auth-service -n ${{ env.HELM_NAMESPACE }} --timeout=300s || echo "⚠️ Could not verify auth service pod readiness"
164
+
kubectl wait --for=condition=ready pod -l app.kubernetes.io/component=postgres -n ${{ env.HELM_NAMESPACE }} --timeout=300s || echo "⚠️ Could not verify PostgreSQL pod readiness"
165
+
kubectl wait --for=condition=ready pod -l app.kubernetes.io/component=client -n ${{ env.HELM_NAMESPACE }} --timeout=300s || echo "⚠️ Could not verify client pod readiness"
166
+
kubectl wait --for=condition=ready pod -l app.kubernetes.io/component=auth-service -n ${{ env.HELM_NAMESPACE }} --timeout=300s || echo "⚠️ Could not verify auth service pod readiness"
167
+
kubectl wait --for=condition=ready pod -l app.kubernetes.io/component=document-service -n ${{ env.HELM_NAMESPACE }} --timeout=300s || echo "⚠️ Could not verify document service pod readiness"
168
+
kubectl wait --for=condition=ready pod -l app.kubernetes.io/component=genai-service -n ${{ env.HELM_NAMESPACE }} --timeout=300s || echo "⚠️ Could not verify genai service pod readiness"
167
169
168
170
# Check if ingress failed and provide alternative access method
169
171
if ! kubectl get ingress -n ${{ env.HELM_NAMESPACE }} 2>/dev/null | grep -q study-mate-ingress; then
@@ -183,4 +185,6 @@ jobs:
183
185
echo "kubectl get pods -n ${{ env.HELM_NAMESPACE }}"
0 commit comments