Your controller serves 2,000 developers and 4,000 jobs. When do you split, and how?
AdvancedScenarioOperations: scale, HA, upgrades & performance
Answer
Situation read → Scale and blast radius.
What I'd do →
- Metrics to decide: startup time, heap, UI latency, how often a restart affects everyone, plugin conflicts.
- Split by business domain into 4–6 controllers, each generated from the same image and JCasC base with team overlays.
- Shared agent clusters (separate namespaces per controller), shared libraries, central SSO.
- A small portal or naming scheme so developers know which controller is theirs.
Why → Smaller controllers are faster, safer to upgrade, and isolate failures.
Interview tip → Mention CloudBees CI as the commercial path if central management is needed.
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