Skip to content

Create DigitalOcean Kubernetes (DOKS) cluster in l5_compute #97

@chicks-net

Description

@chicks-net

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

  1. digitalocean_kubernetes_cluster — primary cluster resource with HA control plane, autoscaling node pool, and maintenance window policy
  2. digitalocean_container_registry data source — to reference the existing fini-domains-prod registry and enable authenticated pulls from DOKS
  3. Standard module files: providers.tf, main.tf, variables.tf, outputs.tf, README.md (following existing repo patterns)
  4. 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)

  • Kubernetes manifests / Helm chart for deploying the fini-domains CoreDNS container
  • DNS records pointing to the cluster (in l6_ingress or fini-domains DNS configs)
  • Monitoring / observability integration
  • VPC networking integration from l2_network (if needed)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions