Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Added

Panel
borderColor#3572b0
borderWidth3


Scalable Build Farm helps

...

spawn any required number of Jenkins

...

Slaves and enables execution of multiple jobs in parallel.

  1. Install Jenkins  2.32.1 (

...

  1. Kube plugin requires this version of Jenkins)
  2. Install Kubernetes plugin
  3. Configure "Kube Cloud" in Manage Jenkins → configure system


Image Modified

Docker image : gcr.io/cloud-solutions-images/jenkins-k8s-slave

Arguments: ${computer.jnlpmac} ${computer.name}

Note: Name of Kubernetes Pod Template and Name of Container Template should be "jnlp"

Image Modified

Choose TCP port for JNLP agents as "Random" since slaves are spawned in Kube slaves and port will be randomly generated if many number of jobs are executed at the same time.

Image Modified


Sample Output:

...

The below screenshot shows execution of 5 jobs

...

in parallel without being

...

queued.

Note: Executors in the Master

...

are unused. Jenkins slaves are spawnedin Kube Slaves on-demand

...

 and the jobs are executed.

...

Image Added