Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/addono/django-kubernetes-devops
Mirrored from Gitlab. Implements DevOps for a Django application on Kubernetes using Gitlab's build in CICD tools.
https://github.com/addono/django-kubernetes-devops
autodevops cicd devops django docker gitlab gitlab-ci gunicorn kubernetes
Last synced: 6 days ago
JSON representation
Mirrored from Gitlab. Implements DevOps for a Django application on Kubernetes using Gitlab's build in CICD tools.
- Host: GitHub
- URL: https://github.com/addono/django-kubernetes-devops
- Owner: Addono
- License: bsd-3-clause
- Created: 2019-02-04T09:00:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T21:42:34.000Z (about 1 year ago)
- Last Synced: 2024-04-14T05:47:23.706Z (7 months ago)
- Topics: autodevops, cicd, devops, django, docker, gitlab, gitlab-ci, gunicorn, kubernetes
- Language: Python
- Homepage: https://gitlab.com/Addono/django-kubernetes-devops
- Size: 32.2 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Django Kubernetes CICD
Deploys a simple Django project onto a Kubernetes cluster using Gitlab CI.The Gitlab deployment pipeline is based of the Auto DevOps script supplied by Gitlab.
## Getting Started
1. Fork this repository on any Gitlab instance.
2. Add a Kubernetes cluster under Operations > Kubernetes.
3. Install the following applications: Helm, Ingress and Cert-Manager.
4. Create a wildcard DNS entry to the Ingress Endpoint - it might take a while before this is resolved.
5. Set the Gitlab CI variable `AUTO_DEVOPS_DOMAIN` to your wildcard domain, this can be achieved in several ways, one would be to replace the variable value in `.gitlab-ci.yml` and commit it, or overwrite this value by adding it under Settings > CI / CD > Environment variables.
6. Ensure that a new deployment is triggered after the domain is configured. If you added a new commit, then this should be done automatically. Otherwise, go to CI / CD > Pipelines and create a new pipeline for `master`.