Skip to content

docs: document default task CPU and memory limits (1000m, 512Mi) - #530

Merged
siyuanfoundation merged 1 commit into
google:mainfrom
siyuanfoundation:bump-substrate-v0.6.0
Oct 28, 2026
Merged

siyuanfoundation merged 1 commit into
google:mainfrom
siyuanfoundation:bump-substrate-v0.6.0

Conversation

@siyuanfoundation

@siyuanfoundation siyuanfoundation commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Follow up #517.

Update the 'Sizing the sandbox' section in docs/manifests.md and the ValidateResources doc comment in pkg/apis/v1alpha1/resources.go to reflect that omitted CPU and memory limits default to 1 CPU (1000m) and 512Mi memory.

If we want to make these configurable, we should consider moving all the configs into a Config type and not blow up params passed into controller.NewTaskReconciler(...)

Substrate v0.6.0 requires every ActorTemplate to specify non-zero CPU and
memory limits (google#517). Update the 'Sizing the sandbox' section in
docs/manifests.md and the ValidateResources doc comment in
pkg/apis/v1alpha1/resources.go to reflect that omitted CPU and memory
limits default to 1 CPU (1000m) and 512Mi memory.

Signed-off-by: siyuanfoundation <[email protected]>
@siyuanfoundation

Copy link
Copy Markdown
Collaborator Author

/cc @mayawang

@siyuanfoundation
siyuanfoundation merged commit 037e679 into google:main Oct 28, 2026
10 checks passed
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.

2 participants