For OpenShift users, this means OpenShift Container Platform 4.x. It is not required to run the Jenkins controller inside Kubernetes. Tested with jenkins/inbound-agent, see the Docker image source code.
JENKINS_SECRET : the secret key for authentication.JENKINS_URL : Jenkins web interface url.For that some environment variables are automatically injected: The plugin creates a Kubernetes Pod for each agent started, and stops it after each build.Īgents are launched as inbound agents, so it is expected that the container connects automatically to the Jenkins controller. Jenkins plugin to run dynamic agents in a Kubernetes cluster.īased on the Scaling Docker with Kubernetes article, automates the scaling of Jenkins agents running in Kubernetes.