deployment

garbetjie/deployment/kubernetes

Terraform Module HCL KUBERNETES ⏱ stale 5y 1mo

Install

module "deployment" {
source = "garbetjie/deployment/kubernetes"
version = "1.0.0"
}
⭐ Source on GitHub 📦 Registry page

README

Terraform Module: Kubernetes Deployments ======================================== A very simple Terraform module used to easily create and manage a deployment consisting of a single container only. Usage ``hcl-terraform module k8s_deployment { name = "my-deployment" namespace = "default" image = "my/image:latest" args = [] } ` Inputs | Name | Description | Type | Default | Required | |------------------|--------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------|---------|----------| | name | Name of the deployment. | string | | Yes | | namespace | Namespace in which to create the deployment. | string | | Yes | | image | Image to create the deployment with.

Inputs (16)

NameTypeDescriptionDefault
imagestring required
namespacestring required
namestring required
mount_host_pathsmap(string){}
init_containerslist(object({ args=list(string[]
mount_secretslist(object({ secret = string,[]
cpunumber0.1
wait_for_rolloutbooltrue
env_from_secretsset(string)[]
tolerationslist(object({ key = string, va[]
memorynumber128
replicasnumber1
labelsmap(string){}
node_selectormap(string){}
envmap(string){}
argslist(string)[]

Outputs (2)

name
labels

Resources (1)

kubernetes_deployment

Details

FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud KUBERNETES
★ Stars0
Forks3
Total downloads6.6k
Inputs16
Outputs2
Resources1
LicenseMIT
Namespacegarbetjie
Updated