node-pool

devdynamicio/node-pool/digitalocean

Terraform Module HCL DIGITALOCEAN

Terraform module to create an node pools for Kubernetes cluster in DigitalOcean πŸ‡ΊπŸ‡¦

Install
module "node-pool" {
source = "devdynamicio/node-pool/digitalocean"
version = "1.0.0"
}
plain text: /constructs/tfmod-devdynamicio-node-pool-digitalocean/install.txt
⭐ Source on GitHub πŸ“¦ Registry page
README

Digitalocean Kubernetes node pools Terraform module Terraform Module for create node pools in DigitalOcean Kubernetes service. ![SWUbanner](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) Requirements This module requires Terraform version 0.13.0 or newer. Examples ``hcl module "kubernetes" { source = "../../" cluster_name = "k8s-example" region = "fra1" node_count = 1 node_size = "s-2vcpu-4gb" k8s_version_prefix = "1.21." } module "kubernetes_node_pool" { source = "../../" auto_scale = true cluster_id = module.kubernetes.id labels = { env = "dev" service = "kubernetes" made-by = "terraform" } max_nodes = 2 min_nodes = 1 name = "dev" node_count = 1 size = "s-1vcpu-2gb" tags = ["kubernetes", "nodes"] taint = [{ key = "workloadKind" value = "dev" effect = "NoSchedul

Inputs (10)
NameTypeDescriptionDefault
labelsmap(string)A map of key/value pairs to apply to nodes in the pool. The labels are exposed i required
max_nodesnumberIf auto-scaling is enabled, this represents the maximum number of nodes that the required
min_nodesnumberIf auto-scaling is enabled, this represents the minimum number of nodes that the required
tagsset(string)A list of tag names to be applied to the Kubernetes cluster. required
cluster_idstringThe ID of the Kubernetes cluster to which the node pool is associated. required
namestringA name for the node pool. required
node_countnumberThe number of Droplet instances in the node pool. If auto-scaling is enabled, th required
sizestringThe slug identifier for the type of Droplet to be used as workers in the node po required
auto_scaleboolEnable auto-scaling of the number of nodes in the node pool within the given minfalse
taintset(object( { effectA list of taints applied to all nodes in the pool.[]
Outputs (3)
id β€” A unique ID that can be used to identify and reference the node pool.
nodes β€” A list of nodes in the pool. Each node exports the following attributes:
actual_node_count β€” A computed field representing the actual number of nodes in the node pool, which is especially usefu
Resources (1)
digitalocean_kubernetes_node_pool
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud DIGITALOCEAN
β˜… Stars0
Forks0
Total downloads397
Inputs10
Outputs3
Resources1
Examples1
LicenseApache-2.0
Namespacedevdynamicio
Updated