Skip to content

Commit c44e303

Browse files
committed
🔧 Increase kubectl timeout to 60s for CI resource constraints
- KUBECTL_TIMEOUT: 30s → 60s - Reason: GitHub Actions runners become overloaded during deployment - Disk: 100% full - Load: 15+ (normal is <2) - ArgoCD API slow to respond during heavy sync operations
1 parent 9d44d6b commit c44e303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/monitor-argocd-apps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ARGOCD_NAMESPACE="${ARGOCD_NAMESPACE:-argocd}"
1717
MONITOR_TIMEOUT="${1:-1800}" # Default: 30 minutes (1800 seconds)
1818
POLL_INTERVAL=15 # Check every 15 seconds
1919
DEGRADED_GRACE_PERIOD=600 # 10 minutes grace period for Degraded apps to recover
20-
KUBECTL_TIMEOUT=30 # Timeout for kubectl commands (seconds)
20+
KUBECTL_TIMEOUT=60 # Timeout for kubectl commands (seconds) - increased for resource-constrained CI
2121

2222
# Helper function: Run kubectl with timeout
2323
kubectl_with_timeout() {

0 commit comments

Comments
 (0)