Summary
Provision a DOKS cluster in the l5_compute layer to host containerized workloads, starting with the fini-domains CoreDNS container pushed to registry.digitalocean.com/fini-domains-prod.
Specifications
| Parameter |
Value |
| Layer |
l5_compute/doks-cluster/ (new Terraform module) |
| Region |
ric1 |
| Kubernetes version |
Auto (latest stable) |
| HA control plane |
Yes (3 nodes) |
| Node pool |
s-2vcpu-4gb, autoscale min 2 / max 5, default 2 nodes |
| Container registry |
Integrate existing DOC registry (fini-domains-prod) via digitalocean_container_registry data source |
| Maintenance window |
Sunday 04:00–06:00 UTC |
Resources to create
digitalocean_kubernetes_cluster — primary cluster resource with HA control plane, autoscaling node pool, and maintenance window policy
digitalocean_container_registry data source — to reference the existing fini-domains-prod registry and enable authenticated pulls from DOKS
- Standard module files:
providers.tf, main.tf, variables.tf, outputs.tf, README.md (following existing repo patterns)
- Backend key:
l5_compute/doks-cluster in the existing S3/Spaces state bucket
Cross-layer dependencies
l1_privilege/do-spaces-keys — may need registry credentials for container pulls
l4_data — state bucket for remote state reads
Follow-up work (separate issues)
Summary
Provision a DOKS cluster in the
l5_computelayer to host containerized workloads, starting with the fini-domains CoreDNS container pushed toregistry.digitalocean.com/fini-domains-prod.Specifications
l5_compute/doks-cluster/(new Terraform module)ric1s-2vcpu-4gb, autoscale min 2 / max 5, default 2 nodesfini-domains-prod) viadigitalocean_container_registrydata sourceResources to create
digitalocean_kubernetes_cluster— primary cluster resource with HA control plane, autoscaling node pool, and maintenance window policydigitalocean_container_registrydata source — to reference the existingfini-domains-prodregistry and enable authenticated pulls from DOKSproviders.tf,main.tf,variables.tf,outputs.tf,README.md(following existing repo patterns)l5_compute/doks-clusterin the existing S3/Spaces state bucketCross-layer dependencies
l1_privilege/do-spaces-keys— may need registry credentials for container pullsl4_data— state bucket for remote state readsFollow-up work (separate issues)
l6_ingressorfini-domainsDNS configs)l2_network(if needed)