Interview Prep/Jenkins/Integration failures: SonarQube, Nexus, Docker, Trivy, kubectl

`kubectl rollout status` fails: `error: deployment "shack-app" exceeded its progress deadline`

IntermediateTroubleshootingIntegration failures: SonarQube, Nexus, Docker, Trivy, kubectl
Answer

Likely causes → New pods never become ready: image pull failure (wrong tag pushed), crash loop, failing readiness probe, insufficient resources.

Diagnose →

kubectl -n shack-dev get pods -l app=shack-app
kubectl -n shack-dev describe pod <new-pod>
kubectl -n shack-dev logs <new-pod> --previous

Fix → Fix the root cause; roll back with kubectl -n shack-dev rollout undo deploy/shack-app (automate it in post { failure {} }).

Prevent → Smoke test images in CI, realistic probes, and automated rollback in the deploy step.

All Jenkins questions Roadmap: Jenkins

More on Integration failures: SonarQube, Nexus, Docker, Trivy, kubectl