Skip to content

Custom Jenkins Instance running with k3s + Kubernetes agents

Notifications You must be signed in to change notification settings

egarciam/jenkins-k8s

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read Me

  • Requirements:

    • GNU make

    • Docker

    • k3d

  • Build the Jenkins controller image with make docker

    • If you want, you can upgrade re-generate the file plugins.txt file of this Docker image with make plugins

  • Create a local cluster with make cluster

    • If you want to use the local Docker image of the Jenkins controller, use the command make docker-load to add the image from your docker enginee into the cluster

  • Deploy the Jenkins Controller with make jenkins

  • Cleanup with one of these commands:

    • Jenkins deploymenent: make clean-jenkins

    • k3d cluster: make clean-cluster

    • Everything: make clean

Update Jenkins Plugins

The Docker image for the Jenkins controller uses a set of plugins defined with fixed versions in docker/plugins.txt.

If you want to update these plugins, execute the following script with Docker available: ./docker/update-plugins.sh.

Please note that the script uses the Jenkins image version defined in ./docker/Dockerfile.

About

Custom Jenkins Instance running with k3s + Kubernetes agents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 62.9%
  • Shell 27.3%
  • Dockerfile 9.8%