Your single Jenkins controller is slow, crashes weekly, and everyone is afraid to upgrade it. What do you do?

IntermediateScenarioPipelines at scale
Answer

Situation read → A long-lived, hand-configured controller running builds on itself is a classic single point of failure. Make it reproducible, then lighter.

What I'd do →

  1. Stop running builds on the controller: set its executors to 0 and use ephemeral agents (Kubernetes plugin or EC2 agents).
  2. Capture its config as code with Configuration as Code (JCasC) and plugins in a plugins.txt, so a new controller can be built from Git.
  3. Back up JENKINS_HOME and test a restore.
  4. Reduce plugins to what's actually used; plugins cause most upgrade breakage.
  5. Upgrade on the LTS line in a staging copy first.
  6. Longer term: split per team into several controllers, or plan the move to GitHub Actions or GitLab CI.

Why → Config as code plus ephemeral agents turns a fragile pet into something you can rebuild in minutes.

Interview tip → Mention executors set to 0 on the controller; it's the first step every Jenkins expert recommends.

All Real-World Interview questions Roadmap: Interview readiness

More on Pipelines at scale