Auto-scaling Jenkins Cluster on OpenStack Cloud Platform
summary
A Jenkins cluster runs on OpenStack using the OpenStack Cloud plugin to auto-provision and revoke build slaves, with two masters in active/passive mode and keepalived with volume attach/detach for HA. Agents boot from a flavor and network defined in the cloud template, execute a user-data boot script that registers a JNLP agent and starts the containerized builder, and enforce a retention policy and executor count. Operational tips include a 30GB free-space threshold to avoid no-spawn situations; the setup works in production.
AI-written summary · about
chapters (5)
- 0:00Intro
- 1:53Viettel Jenkins CI/CD Infrastructure overview - Requirements
- 6:17Autoscaling Slaves With OpenStack Cloud Pluy. Jenkins built-in mechanism Clouds plugins extend from Jenkins mechanism to provision Slaves from Cloud
- 8:24Configure Plugin Options
- 12:19Configure Slave VM bootstrap script - Shell script used to start jenkins slave agent process Uses injected envs to pass correct slave secrets created by Jenkins master
related talks
08mjclouds & Jenkins: Any Cloud, Anywhere
44mScaling Your Jenkins Jobs
38mOperating Jenkins at Scale
51mIncrease Jenkins High Availability in the Enterprise
47mJenkins in the Enterprise: Building Resilient CI Infrastructure
22mAll Things Jenkins and Cloud Foundry
45mHow Builds and Delivers in the Cloud
01h 06mon
