Skip to content

mastodon/terraform-ovh-k8s-nodepool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastodon Terraform - OVHCloud Kubernetes Nodepool

Creates a nodepool for a Managed Kubernetes cluster in OVH.

While the full kubernetes module also supports nodepools, there are some situations where nodepools need to be created and deleted ad-hoc. This makes that situation easier to manage by allowing the management of each nodepool separately.

Requirements

Name Version
terraform >= 1.0.0
ovh ~> 2.5.0

Providers

Name Version
ovh 2.5.0

Modules

No modules.

Resources

Name Type
ovh_cloud_project_kube_nodepool.node_pool resource

Inputs

Name Description Type Default Required
availability_zones Availability zones to create the nodes in (for multi-AZ clusters). list(string) [] no
cluster_id ID of the cluster for the nodepool. string n/a yes
flavor_name The type of nodes to use for this nodepool. string n/a yes
max_nodes Minimum number of nodes this nodepool can have. number 0 no
min_nodes Maximum number of nodes this nodepool can have. number 0 no
monthly_billed Should the nodes be billed on a monthly basis. bool false no
name Name to give the nodepool. string n/a yes
nodes Number of nodes in this nodepool. number n/a yes
project_id The ID of the Public Cloud project the resources will be created in. string n/a yes
template Nodepool template for applying metadata.
object({
annotations = optional(map(any), {})
labels = optional(map(any), {})
finalizers = optional(list(string), [])
unschedulable = optional(bool, false)
taints = optional(list(object({
effect = string
key = string
value = string
})), [])
})
null no

Outputs

No outputs.

About

Terraform module for kubernetes nodepools.

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages