Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Scalable Build Farm helps to spawn any number of Jenkins slaves as required and execute many jobs in parallel.

  • Install Jenkins  2.32.1 (kube plugin requires this version of Jenkins)
  • Install Kubernetes plugin
  • Configure "Kube Cloud" in Manage Jenkins → configure system


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"

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.


Sample Output:

Below screen shows 5 jobs are executing in parallel without being in queue.

Note: Executors in Master will be unused. Jenkins slaves are spawned on-demand in Kube Slaves and jobs are executed.


  • No labels