Interview Prep/Jenkins/Backups, HA, upgrades & performance

Does Jenkins support active-active high availability?

AdvancedConceptBackups, HA, upgrades & performance
Answer

Open-source Jenkins does not: two controllers cannot share one JENKINS_HOME safely because state is held in memory and written to files. Practical approaches:

  • Fast recovery: controller in a Kubernetes StatefulSet with a persistent volume; if the node dies, the pod reschedules in minutes. Pipelines resume if agents survived.
  • Warm standby: replicate JENKINS_HOME to a second site and fail over with DNS.
  • Horizontal split: multiple controllers by team or domain, reducing blast radius.
  • CloudBees CI offers commercial HA (active-active) and controller management.
All Jenkins questions Roadmap: Jenkins

More on Backups, HA, upgrades & performance