Build DigitalOcean Kubernetes (DOKS) cluster configurations with node pools and auto-scaling.
Last verified: May 2026
Build DigitalOcean Kubernetes (DOKS) cluster configurations with node pools, auto-scaling, HA control plane, and maintenance windows.
Required Fields
nameregionversionnode_poolsOutput will appear here...Your team's first DOKS cluster has been running everything on a single auto-scaling pool of `s-2vcpu-4gb` nodes. The CoreDNS pods keep getting evicted when the cluster autoscaler reclaims nodes, causing intermittent DNS failures across the cluster. You use the builder to add a second pool — three fixed `s-4vcpu-8gb` nodes with taints that limit it to system pods — and rerun Terraform. CoreDNS settles on the dedicated pool, the workload pool autoscales freely, and the DNS flapping stops.
DigitalOcean Kubernetes (DOKS) is a managed control plane with worker pools you size and configure. The DO Kubernetes Cluster Builder generates a complete cluster spec — region, version, networking (VPC), worker pools with autoscaling bounds, surge upgrade settings, and maintenance window — and validates the combination against current DOKS constraints. The output is Terraform-ready and matches the parameters expected by `digitalocean_kubernetes_cluster`.
The builder accepts cluster name, region, Kubernetes version, VPC selection, maintenance window, and one or more worker pool specs (size, count or min/max for autoscaling, optional taints and labels). It validates the version against currently-supported DOKS versions, checks the chosen Droplet size against DOKS-eligible sizes, and emits a `digitalocean_kubernetes_cluster` Terraform block including one or more `node_pool` blocks.
Use multiple worker pools to separate workload types. A small pool of cheap nodes for system pods (DNS, ingress controller) and a separate autoscaling pool for application workloads gives you predictable system performance and tunable elasticity.
Enable surge upgrade for production clusters. Without it, node upgrades cordon-and-drain one at a time, which can stall under PodDisruptionBudgets and leave the cluster in a half-upgraded state. Surge upgrade brings up new nodes first and gracefully migrates workloads.
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.