Severity: P2 | Team: Infrastructure
- CI/CD pipeline fails or pods stuck in
Pending/CrashLoopBackOff - Alert:
DeploymentFailedorPodCrashLooping
# Check rollout status
kubectl rollout status deployment/gistpin-backend
# Describe failing pods
kubectl describe pod -n gistpin -l app=gistpin-backend
# Check recent events
kubectl get events -n gistpin --sort-by='.lastTimestamp' | tail -20- Rollback immediately if production is impacted:
kubectl rollout undo deployment/gistpin-backend kubectl rollout status deployment/gistpin-backend --timeout=60s
- Fix and redeploy after identifying root cause in logs/events.
- Check image pull errors — verify registry credentials:
kubectl get secret regcred -n gistpin
If rollback fails → page on-call engineer immediately.
File within 24 hours for P2 incidents. Template in incident-response.md.