项目作者: Addono

项目描述 :
Mirrored from Gitlab. Implements DevOps for a Django application on Kubernetes using Gitlab's build in CICD tools.
高级语言: Python
项目地址: git://github.com/Addono/Django-Kubernetes-DevOps.git
创建时间: 2019-02-04T09:00:46Z
项目社区:https://github.com/Addono/Django-Kubernetes-DevOps

开源协议:BSD 3-Clause "New" or "Revised" License

下载


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.