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

Trivy: `FATAL Fatal error init error: DB error: failed to download vulnerability DB ... TOOMANYREQUESTS`

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

Likely causes → Many ephemeral pods downloading the DB from the public registry hit rate limits; no network egress.

Diagnose → Error text mentions the DB repository; check egress rules.

Fix → Mirror the DB to an internal registry and use --db-repository registry.example.com/trivy-db (and --java-db-repository), or cache the DB on a PVC with --cache-dir and --skip-db-update on most builds.

Prevent → A scheduled job that refreshes the internal DB mirror.

All Jenkins questions Roadmap: Jenkins

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