qa1 / jenkins-stack-kubernetes

Scripts and manifests to deploy Jenkins on Kubernetes

Home Page:https://b9t.ir/dwsclass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jenkins-stack-kubernetes

Attention: This repository is a part of the "DevOps with Saeid" class.

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

All rights reserved, Saeid Bostandoust ssbostan@linuxmail.org.

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:

  • Tools:
    1. Git client (latest)
    2. Docker client (latest)
    3. Kubernetes client (latest)
    4. Ansible (latest)
    5. Helm (3.6.2)
    6. Terraform (1.0.1)
  • Plugins:
    1. 34 most useful plugins

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! contributions are welcomed.

TODO:

  • SSL/TLS for Jenkins
  • SSL/TLS for Gitea
  • Expose Jenkins behind Ingress object
  • Expose Docker registry behind Ingress object
  • Expose Gitea behind Ingress object

About

Scripts and manifests to deploy Jenkins on Kubernetes

https://b9t.ir/dwsclass

License:Apache License 2.0


Languages

Language:Shell 56.9%Language:Dockerfile 43.1%