• Stars
    star
    192
  • Rank 202,019 (Top 4 %)
  • Language
    Shell
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Scripts and manifests to deploy complete Jenkins on Kubernetes

jenkins-stack-kubernetes

GitHub stars LinkedIn Follow

Stargaze GitHub Repo stars if you find it useful.

Scripts and manifests to deploy Jenkins containers CI/CD stack on Kubernetes.

The Docker-compose version is also available.

Copyright 2021-2022 Saeid Bostandoust [email protected]

This stack contains:

  • Jenkins (with a complete set of tools and plugins).
  • Docker (on Kubernetes for building images and running Jenkins jobs).
  • Docker registry (as a image repository).
  • Gitea (as a version control system).

Installed tools and plugins:

  • Installed tools in Jenkins:
    1. Git client (latest)
    2. Docker client (latest)
    3. Kubernetes client (latest)
    4. Ansible (latest) + set of useful collections
    5. Helm (latest)
    6. Terraform (latest)
    7. Pulumi (latest)
    8. MAASTA (latest)
    9. Tf2 (latest)
  • Jenkins plugins:
    1. 50 most useful Jenkins plugins
  • Ansible collections:
    1. 13 most useful Ansible collections

How to deploy the stack:

The stack is tested on Kubernetes 1.20+, should works on earlier versions.

Prerequisites:

  1. Kubernetes should supports LoadBalancer service type.
  2. Kubernetes should be configured to creating PVC dynamically.
  3. OpenSSL to creating self-signed certificates.

Get started:

./deploy

demo

How to contribute:

Don't hesitate! all contributions are welcomed.

TODO:

  • Update tools to the latest stable version
  • SSL/TLS for Jenkins
  • SSL/TLS for Gitea
  • Expose Jenkins behind Ingress object
  • Expose Docker registry behind Ingress object
  • Expose Gitea behind Ingress object

Changelog:

01 Oct 2022:
  1. Jenkins updated to the latest LTS version.
  2. All tools updated to the latest stable version.
  3. Tf2 tf2project.io was integrated.
15 May 2022:
  1. Jenkins updated to the latest LTS version.
  2. All tools updated to the latest stable version.
  3. Some new Jenkins plugins installed, See Dockerfile.
  4. Install Helm and Terraform via their package repositories.
  5. Pulumi was added to the Jenkins environment.
08 Feb 2022:
  1. Jenkins updated to the latest LTS version.
  2. All tools updated to the latest stable version.
  3. Some new Jenkins plugins installed, See Dockerfile.
  4. MAASTA to integrates MAAS, Terraform and Ansible.
13 Oct 2021:
  1. Jenkins updated to the latest LTS version.
  2. All tools updated to the latest stable version.
  3. Some new Jenkins plugins installed, See Dockerfile.
  4. Several new Ansible collections were installed.

More Repositories

1

jenkins-tutorial

The completest Jenkins tutorial, reference, awesome, examples
335
star
2

kubernetes-complete-reference

Kubernetes reference, awesome, cheatsheet, concepts, tools, examples
183
star
3

maasta

MAAS Terraform Ansible
Python
157
star
4

jenkins-stack-docker

Docker-compose version of jenkins-stack-kubernetes
Dockerfile
150
star
5

vboxpower

VirtualBox Power Driver for MAAS
Python
142
star
6

tondra

Continuous Development on Kubernetes environments with Skaffold
Python
110
star
7

netmeter-exporter

Prometheus exporter for Netmeter
Python
104
star
8

netmeter

Network monitoring tool
Python
98
star
9

zagros

Zagros Open Source Operating System
Assembly
32
star
10

terraform-tutorial

The completest Terraform tutorial, reference, awesome, examples
HCL
31
star
11

devops-bash-scripts

The completest repository of BASH scripts for DevOps engineers
Shell
22
star
12

ssbostan

My Profile Project :)) Readme
13
star
13

prometheus-multi-tenant-proxy-server

Multi-tenant reverse proxy for Prometheus server
Go
12
star
14

xsocket

XSocket is a cross-platform Socket library
C
11
star
15

docker-with-saeid

Applications repository of Docker with Saeid tutorial
Python
10
star
16

docker-logging-awesome

Complete reference for Docker Logging systems and drivers
7
star
17

neptune

Simple API with Flask web framework
Python
6
star
18

vault-secrets-sdk-go

HCP Vault Secrets SDK for Go programming language
Go
5
star
19

librempc

Multiple Precision Arithmetic
C
5
star
20

telescope

Export kubernetes Pod info
Python
4
star
21

anakonda

Anakonda is an API-led container-based task runner
Python
3
star
22

argostart

Helm Chart to deploy the first ArgoCD Application to setup AppOfApps and AppOfAppSets patterns
Smarty
3
star
23

just-for-dockerize

Test your Dockerizing experience
Python
2
star
24

argoapps

Helm Charts to generate ArgoCD Applications for Kubernetes Platform management
2
star
25

kubernetes-opa-library

Kubernetes OPA Gatekeeper policies with a deployable Helm chart
Shell
1
star
26

vault-secrets-sdk-python

HCP Vault Secrets SDK for Python programming language
1
star
27

charts

Helm charts of my github projects
1
star
28

secret-injector

Helm Chart to deploy Sealed-Secrets and External-Secrets resources
1
star
29

london-tube-lines

An API-led container-based project for DevOps in 10 days
HCL
1
star
30

rafay-deploy-pipeline

Deploy Kubernetes workloads with Rafay Kubernetes platform
HCL
1
star
31

devops

DevOps Conference Website
HTML
1
star