This plugin allows Jenkins agents to be dynamically provisioned on a Kubernetes cluster.
The aim of the Kubernetes plugin is to be able to use a Kubernetes cluster to dynamically provision a Jenkins agent (using Kubernetes scheduling mechanisms to optimize the loads), run a single build, then tear-down that agent.
A quick setup is :
- get a Kubernetes cluster running
- use a docker image for the agents, or create your own
Follow the getting started guide on Kubernetes or use Google Kubernetes Engine.
You can find ready-made Docker images for Jenkins agents using jnlp at jenkins/jenkins-slave.
The images can be customized to fit your needs.
Refer to the README in the plugin repository
Refer to the CHANGELOG in the plugin repository
Can be found HERE