Skip to content

Cameronbaird/msft preview/factory static enlightenment#462

Draft
Camelron wants to merge 2 commits into
cameronbaird/msft-preview/clh-go-templatingfrom
cameronbaird/msft-preview/factory-static-enlightenment
Draft

Cameronbaird/msft preview/factory static enlightenment#462
Camelron wants to merge 2 commits into
cameronbaird/msft-preview/clh-go-templatingfrom
cameronbaird/msft-preview/factory-static-enlightenment

Conversation

@Camelron

@Camelron Camelron commented Jun 24, 2026

Copy link
Copy Markdown

Draft.

This has two staged changes on top of the upstreamed clh-go templating support PR #461

  1. Prototype for hot plugging memory into VMs with zoned memory. This enables us to resize a templated VM to the workload size. To be cherry-picked and sent upstream.
  2. Msft-only change to hook up the fork's static_resource_* configs to the template paths. Upstream doesn't have/use these configs.

End result is that we can have default_* configs = 0, static_resource_management=true, AND VM templating enabled. This means we get VM templating with no changes to our VM size model.

In the templating configuration we can restore from the default size (512Mi) and resize UP to match the deployment's required size. What we do lose is the ability to deploy with limits less than the default size (< 512Mi).

@Camelron Camelron force-pushed the cameronbaird/msft-preview/factory-static-enlightenment branch from 718526d to c0c7eb9 Compare June 24, 2026 23:16
@Camelron

Copy link
Copy Markdown
Author

This change is WIP. The config is wired up/adjusted at 5 or 6 different locations and it is difficult to make all paths robust.

This patch is for the msft fork only. It wires up the static size
configs such that factory respects the static_ fields.

This means we have the same VM size model as is in production today:
1. With no limits specified, the user gets the static size 512Mi,1vcpu
2. With limits specified, the user gets the exact specified size
	which is limits.memory,limits.vcpus for the deployment

Generated-By: Clause Opus 4.8
Signed-Off-By: Cameron Baird <cameronbaird@microsoft.com>
@Camelron Camelron force-pushed the cameronbaird/msft-preview/factory-static-enlightenment branch from c0c7eb9 to 36cc885 Compare June 25, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant