Interview Prep/CI/CD/Jenkins in Production

How do you run Jenkins for high availability and scale?

AdvancedProductionJenkins in Production
Answer

Open-source Jenkins has one active controller, so scale and resilience come from design: keep the controller small and stateless-ish (JCasC for config, plugins pinned), push all work to ephemeral agents (Kubernetes plugin, EC2 Fleet), store JENKINS_HOME on durable storage with frequent snapshots, and split by team onto multiple controllers rather than one giant instance. Restart recovery on Kubernetes is a StatefulSet with a persistent volume. True active-active HA requires CloudBees CI. Monitor queue length, executor utilisation, and controller JVM heap.

All CI/CD questions

More on Jenkins in Production