You need to move 300 jobs from an old controller to a new Kubernetes-based one with minimal disruption. Plan it.
AdvancedScenarioOperations: scale, HA, upgrades & performance
Answer
Situation read → Migration with parallel run.
What I'd do →
- Build the new controller from code (image, JCasC, Job DSL); recreate jobs as multibranch where possible.
- Credentials: recreate in the new store or external provider; do not copy
secrets/unless you migrateJENKINS_HOMEwholesale. - Migrate team by team: switch their webhooks and branch protection checks to the new controller, keep the old one read-only for history.
- Decommission after a retention period, with history exported.
Why → Team-by-team cutover limits risk and lets you fix issues incrementally.
Interview tip → Mention status check names may change, requiring branch protection updates.
More on Operations: scale, HA, upgrades & performance
Jenkins is a single VM with local disk and no backups. The business wants an RTO of 1 hour. Design recovery.AdvancedQueue length spikes to 80 every morning at 9:30 and builds wait 15 minutes. How do you analyse and fix?IntermediateThe controller has 12 GB heap and still does full GCs every few minutes. What do you investigate?AdvancedYou need to upgrade from Jenkins 2.426 LTS (Java 11) to the current LTS. What is your sequence?IntermediateBuild history is needed for 2 years for compliance, but the controller disk is filling. What do you do?IntermediateA plugin update caused the controller to fail on startup in production. Recover.Intermediate