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_HOMEto 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.
More on Backups, HA, upgrades & performance
What do you back up in Jenkins and what do you exclude?IntermediateHow do you back up Jenkins running on Kubernetes?IntermediateHow do you plan a Jenkins LTS upgrade?IntermediateWhat does "Manage Old Data" mean after an upgrade?BeginnerHow do you size and tune the controller JVM?AdvancedWhat are the most common causes of a slow Jenkins controller?Intermediate