Skip to content

feat: Configure devboxes by default in plural up - #209

Open
maciaszczykm wants to merge 19 commits into
mainfrom
marcin/prod-5488-devbox-should-be-configured-by-default-in
Open

maciaszczykm wants to merge 19 commits into
mainfrom
marcin/prod-5488-devbox-should-be-configured-by-default-in

Conversation

@maciaszczykm

@maciaszczykm maciaszczykm commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

plural up on AWS, GCP and Azure now sets up devboxes on the management cluster, following plrl-up-demos and the scaffolds devbox catalog.

Changes

  • Management clusters, and AWS workload clusters, default to Kubernetes 1.37, which Agent Substrate needs. Traefik (feat(runtime): replace ingress-nginx with Traefik as default ingress controller #198) has no upper version limit.
  • The AWS workload cluster module installs the eks-pod-identity-agent add-on, which Substrate's snapshot roles use.
  • terraform/mgmt/cluster/devbox.tf: a gVisor node pool that keeps one node running and grows with demand, a snapshot bucket or storage account that's destroyed with the cluster, and workload identities (no static keys). Turn it off with devbox_enabled = false; on Azure, devbox_vm_size picks another single-generation size.
  • bootstrap/devbox: the agent-substrate chart (with bundled CloudNativePG, and the Azure Blob plugin on Azure) and a devbox DevboxRunner with one warm worker, since building its template needs one.
  • Disk prep gets a ResourceQuota for critical-priority pods, which GKE requires outside kube-system, and leaves diskModel out off AWS, since console rejects empty configuration values. AKS pools get no disk startup taint, since AKS refuses to remove taints set on a node pool.
  • AWS management clusters pin the cluster-autoscaler chart to 9.60.0, since the default one lacks the RBAC current autoscaler images need, and allow node-to-node HTTPS, which Substrate workers use to reach ate-api-server.

Testing

Tested briefly on AWS, GCP and Azure. After install, create the plural SCM connection and configure AI in the console, as for PR automations and agent runtimes. On Azure, the subscription needs standardDSv5Family vCPU quota in the target region for the default Standard_D8s_v5, or set devbox_vm_size.

Dependencies

@linear

linear Bot commented Nov 23, 2026

Copy link
Copy Markdown

PROD-5488

@maciaszczykm
maciaszczykm marked this pull request as ready for review November 26, 2026 15:48
@maciaszczykm maciaszczykm added the enhancement New feature or request label Nov 26, 2026

@michaeljguarino michaeljguarino left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will probably end up wanting these to use the zerofs setup, which isn't much different besides granting the zerofs csi driver permissions to the same substrate bucket.

@maciaszczykm

Copy link
Copy Markdown
Member Author

Added ZeroFS setup, retesting it now.

michaeljguarino and others added 4 commits November 27, 2026 19:56
…ls, Block homes

- AWS: replace the devbox managed node group with Karpenter (1.13, EC2NodeClass with
  nestedVirtualization enabled) so nodes launch in the zone a pending pod's disk needs.
  Add the snapshot-controller add-on and let the EBS CSI node tolerate all taints.
- Azure: one devbox pool per zone (the AKS autoscaler isn't zone-aware across a
  multi-zone pool); enable the disk CSI driver and snapshot controller.
- GCP: enable the PD CSI driver.
- Homes: Block on every cloud (agent-substrate block.enabled with per-cloud disk
  providers); drop the ZeroFS identities and outputs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Azure devbox nodes now come from AKS node auto-provisioning (managed
Karpenter) instead of a zone-spanning node pool, so each node launches
in the zone its worker's home disk is in. The mgmt stack turns NAP on
and registers AllowClusterAutoscalerAndNAP so it runs beside the
autoscaled blue/green pools; the devbox NodePool and AKSNodeClass are
rendered with the AWS ones in services/devbox.

On AWS, a NodeOverlay declares ate.dev/kvm on the devbox NodePool and
the Karpenter values turn on the NodeOverlay feature gate. microvm
workers request ate.dev/kvm, which atelet only advertises once a node
runs, so Karpenter otherwise never launches a node for one.

Co-authored-by: Cursor <cursoragent@cursor.com>
The management cluster now sets authentication_mode = API, and the
devbox Karpenter module states create_access_entry so its nodes can
register (they launch but never join without it).

The workload cluster module moves from EKS module v19, which only
supports the aws-auth ConfigMap, to v20 with API_AND_CONFIG_MAP and an
admin access entry for the identity applying the stack, which registers
the cluster with Plural. EKS creates the managed node groups' entries.

Co-authored-by: Cursor <cursoragent@cursor.com>
…rator 0.6.77)

Co-authored-by: Cursor <cursoragent@cursor.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants