terraform-digitalocean-doks
Terraform module which configure a Kubernetes cluster (DOKS) on Digital Ocean
No modules.
Name
Description
Type
Default
Required
auto_scale
Enable cluster autoscaling
bool
n/a
yes
auto_upgrade
Whether the cluster will be automatically upgraded
bool
n/a
yes
cluster_name
Cluster name
string
n/a
yes
kubernetes_version
The Kubernetes version
string
n/a
yes
maintenance_policy_day
The day of the maintenance window policy
string
n/a
yes
maintenance_policy_start_time
The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation
string
n/a
yes
max_nodes
Autoscaling maximum node capacity
string
5
no
min_nodes
Autoscaling Minimum node capacity
string
1
no
node_count
The number of Droplet instances in the node pool.
number
n/a
yes
node_labels
List of Kubernetes labels to apply to the nodes
map(any)
{ "service": "kubernetes" }
no
node_pools
Addons node pools
map(object({ size = string node_count = number auto_scale = bool min_nodes = number max_nodes = number node_tags = list(string) node_labels = map(string) }))
{}
no
node_tags
The list of instance tags applied to all nodes.
list(any)
[ "kubernetes" ]
no
region
The location of the cluster
string
n/a
yes
size
The slug identifier for the type of Droplet to be used as workers in the node pool.
string
n/a
yes
surge_upgrade
Enable/disable surge upgrades for a cluster
bool
false
no
tags
The list of instance tags applied to the cluster.
list(any)
[ "kubernetes" ]
no
vpc_uuid
The ID of the VPC where the Kubernetes cluster will be located
string
""
no
No outputs.