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
echo "=== Deploying eoAPI with monitoring stack ==="
211
+
export RELEASE_NAME="$RELEASE_NAME"
212
+
export PGO_VERSION="${{ env.PGO_VERSION }}"
213
+
export GITHUB_SHA="${{ github.sha }}"
214
+
export CI_MODE=true
215
+
export OBSERVABILITY_MODE=true
216
+
217
+
# Deploy using consolidated script with observability mode enabled
218
+
./scripts/deploy.sh --ci
219
+
220
+
- name: Wait for monitoring stack to be ready
221
+
run: |
222
+
echo "=== Waiting for monitoring components ==="
223
+
224
+
# Wait for metrics-server first (required for HPA)
225
+
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/name=metrics-server -n eoapi --timeout=300s || echo "metrics-server not ready"
226
+
227
+
# Wait for Prometheus server
228
+
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/component=server,app.kubernetes.io/name=prometheus -n eoapi --timeout=300s || echo "Prometheus server not ready"
229
+
230
+
# Wait for Grafana
231
+
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/name=grafana -n eoapi --timeout=300s || echo "Grafana not ready"
232
+
233
+
# Wait for prometheus-adapter
234
+
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/name=prometheus-adapter -n eoapi --timeout=300s || echo "prometheus-adapter not ready"
0 commit comments