django

djangoflow/django/kubernetes

Terraform Module HCL KUBERNETES

Deploy Django with Terraform to Kubernetes with optional support for AWS/EKS or GCP/GKE

Install
module "django" {
source = "djangoflow/django/kubernetes"
version = "1.2.10"
}
plain text: /constructs/tfmod-djangoflow-django-kubernetes/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-kubernetes-django Deploy Django with Terraform to Kubernetes with optional support for AWS/EKS or GCP/GKE

Inputs (46)
NameTypeDescriptionDefault
secret_envmap(string)A map of extra secret environment variables required
gcp_bucket_locationstringThe location of the bucket, e.g. EU or US required
ingressmap(map(string))A map of hostnames with maps of path-names and services required
image_tagstringDocker image tag required
image_namestringDocker image repository and name required
namespacestringKubernetes namespace to use with this installation required
image_pull_secretslist(string)Image pull secrets[]
image_pull_policystringPull policy for the images"IfNotPresent"
postgres_enabledboolCreate a postgres database deploymentfalse
postgres_storage_sizestring"10Gi"
volumesanyVolume configuration[]
security_context_fsgroupstringnull
gcp_db_instancestringCreate a database and a user for this installation and use them instead of DATABnull
redis_db_indexstring"1"
celery_worker_defaultsmap{ "args": [ "/start-celeryworker"
liveness_probeobject({ http_get = objectLiveness probe for containers which have ports{ "failure_threshold": 3, "http_get"
ingress_annotationsmap(string){}
deploymentsmap(object({ name { "web": { "name": "web", "por
readiness_probeobject({ http_get = objectReadiness probe for containers which have ports{ "failure_threshold": 3, "http_get"
postgres_resources_requests_cpustring"250m"
redis_resources_limits_memorystringnull
redis_resources_limits_cpustringnull
security_context_uidnumber101
create_namespaceboolShould we create the namespace or use existing provided?true
extra_labelsmap(string)Extra labels to add to generated objects{}
envmap(string)A map of extra environment variables{}
… and 6 more inputs
Outputs (1)
database_url
Resources (7)
kubernetes_horizontal_pod_autoscaler_v1kubernetes_ingress_v1kubernetes_namespace_v1kubernetes_persistent_volume_claim_v1kubernetes_pod_disruption_budget_v1kubernetes_secret_v1kubernetes_service_account_v1
Details
FrameworkTerraform Module
LanguageHCL
Version1.2.10
Cloud KUBERNETES
★ Stars4
Forks6
Total downloads3.6k
Inputs46
Outputs1
Resources7
Submodules3
LicenseMIT
Namespacedjangoflow
Updated