Interview Prep/Jenkins/Operations: scale, HA, upgrades & performance

Can you run two Jenkins controller replicas behind a load balancer on a shared NFS volume for HA?

IntermediateScenarioOperations: scale, HA, upgrades & performance
Answer

Situation read → A common misconception.

What I'd do →

  1. Explain no: each controller keeps state in memory and writes files independently; two writers corrupt data and both run the same scheduled builds.
  2. Offer real options: single replica StatefulSet with fast rescheduling, warm standby with replication, multiple independent controllers, or CloudBees HA.
  3. Also mention NFS latency hurts Jenkins performance; prefer block storage.

Why → Open-source Jenkins is single-writer by design.

Interview tip → Saying "no, and here is why" earns more credit than a creative but unsafe design.

All Jenkins questions Roadmap: Jenkins

More on Operations: scale, HA, upgrades & performance