https://github.com/ssbostan/jenkins-stack-kubernetes
Scripts and manifests to deploy complete Jenkins on Kubernetes
https://github.com/ssbostan/jenkins-stack-kubernetes
ansible devops docker git gitea hacktoberfest helm jenkins kubernetes pulumi registry terraform
Last synced: 3 days ago
JSON representation
Scripts and manifests to deploy complete Jenkins on Kubernetes
- Host: GitHub
- URL: https://github.com/ssbostan/jenkins-stack-kubernetes
- Owner: ssbostan
- License: apache-2.0
- Created: 2021-07-03T13:57:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-06T19:26:58.000Z (about 1 year ago)
- Last Synced: 2025-02-08T00:32:02.644Z (14 days ago)
- Topics: ansible, devops, docker, git, gitea, hacktoberfest, helm, jenkins, kubernetes, pulumi, registry, terraform
- Language: Shell
- Homepage: https://devops-with-saeid.com
- Size: 596 KB
- Stars: 195
- Watchers: 6
- Forks: 59
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jenkins-stack-kubernetes
[](https://github.com/ssbostan/jenkins-stack-kubernetes/stargazers)
Stargaze  if you find it useful.
Scripts and manifests to deploy Jenkins containers CI/CD stack on Kubernetes.
The [Docker-compose](https://github.com/ssbostan/jenkins-stack-docker) version is also available.
Copyright 2021-2022 Saeid Bostandoust
### 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](Dockerfile)
- Ansible collections:
1. [13 most useful Ansible collections](ansible.yaml)## 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:
```sh
./deploy
```
## How to contribute:
Don't hesitate! all contributions are welcomed.
### TODO:
- [x] 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](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](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](Dockerfile).
4. Several new Ansible collections were installed.