redis

ballj/redis/kubernetes

Terraform Module HCL KUBERNETES

Kubernetes module to deploy Redis

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

Terraform Kubernetes Redis This terraform module deploys a Redis statefulset into a kubernetes cluster. Usage `` module "redis" { source = "ballj/redis/kubernetes" version = "~> 1.0" namespace = "production" object_prefix = "myapp-db" labels = { "app.kubernetes.io/part-of" = "myapp" } } ` Variables Deployment Variables | Variable | Required | Default | Description | | --------------------------------- | -------- | --------------------------- | -------------------------------------------------- | | namespace | Yes | N/A | Kubernetes namespace to deploy into | | object_prefix | Yes | N/A | Unique name to prefix all objects with | | labels | No | N/A | Common labels to add to all objects - See example | | image_name | No | bitnami/redis | Image to deploy as part of deployment | | image_tag |

Inputs (50)
NameTypeDescriptionDefault
object_prefixstringUnique name to prefix all objects with required
readiness_probe_successnumberMinimum consecutive successes for the probe to be considered successful after ha1
liveness_probe_timeoutnumberTimeout of the probe in seconds1
startup_probe_successnumberMinimum consecutive successes for the probe to be considered successful after ha1
annotationsmap(string)Annotations to add to the deployment{}
resources_requests_memorystringThe minimum amount of compute resources required""
service_annotationsmap(string)Annotations to add to the service{}
liveness_probe_periodnumberPeriod of the probe in seconds10
startup_probe_periodnumberPeriod of the probe in seconds1
password_requiredboolForce the use of a passwordtrue
volume_tmp_mediumstringMedium of the empty_dir created for tmp"Memory"
readiness_probe_failurenumberMinimum consecutive failures for the probe to be considered failed after having 3
timeout_updatestringTimeout for creating the statefulset"2m"
service_account_namestringService account name to add to the pod""
volume_etc_sizestringSize of the empty_dir created for etc"5Mi"
resources_requests_cpustringThe maximum amount of compute resources allowed""
timeout_createstringTimeout for creating the statefulset"3m"
image_tagstringDocker image tag to use"6.2.5-debian-10-r70"
password_secretstringSecret containing redis password""
wait_for_rolloutboolWait for the pod rollout to completetrue
volume_tmp_sizestringSize of the empty_dir created for tmp"5Mi"
… and 10 more inputs
Outputs (4)
hostname — Name of the kubernetes service
port — Port for the kubernetes service
password_secret — Secret that is created with the Redis password
password_key — Key for the Redis password in the secret
Resources (4)
kubernetes_secretkubernetes_servicekubernetes_stateful_setrandom_password
Details
FrameworkTerraform Module
LanguageHCL
Version1.3.0
Cloud KUBERNETES
★ Stars0
Forks7
Total downloads16.1k
Inputs50
Outputs4
Resources4
Namespaceballj
Updated