In this article I will show KubeStack, a python daemon and command line tool to spin un dynamic Jenkins slaves using Kubernetes:   https://github.com/kubestack/kubestack    How to install it  KubeStack is currently a POC, so it's not still published as a package. To install it, you can clone from the upper url. KubeStack project is divided on three directories:   ansible : a set of scripts and documentation explaining how to setup a Kubernetes cluster on OpenStack  images : Dockerfile and scripts used to generate Jenkins slaves  app : KubeStack application to interact with Kubernetes and Jenkins   To install the KubeStack application, you need to go the the app/kubestack directory, and install the requirements listed on requirements.txt file.  You can run the daemon using:  python kubestack/cmd/kubestackd.py (-d if you don't want as a daemon).    Also a CLI tool is available on kubestack/cmd/kubestackcmd.py    How to configure  KubeStack relies on a configuration file, that li...