Skip to content

fix(installer): make the training size configurable at install (TRACEBLOC_TRAINING_RESOURCES)#308

Open
LukasWodka wants to merge 1 commit into
developfrom
fix/training-resources-env-override
Open

fix(installer): make the training size configurable at install (TRACEBLOC_TRAINING_RESOURCES)#308
LukasWodka wants to merge 1 commit into
developfrom
fix/training-resources-env-override

Conversation

@LukasWodka

Copy link
Copy Markdown
Contributor

Summary

The generated values hardcoded RESOURCE_LIMITS/REQUESTS: cpu=2,memory=8Gi — the install-time default was frozen with no override. One env knob now sets both (requests == limits, Guaranteed QoS, matching client-runtime's deliberate lockstep):

TRACEBLOC_TRAINING_RESOURCES="cpu=4,memory=16Gi" bash <(curl -fsSL https://tracebloc.io/i.sh)

Documented in the installer header + a YAML comment in the generated values. Groundwork for the tracebloc resources command (design approved; ticket in tracebloc/cli) — that becomes the friendly runtime layer over the same chart values.

Testing

+2 bats tests (override lands in generated values / default unchanged); full install-client-helm suite 48/48 locally (Linux CI authoritative). manifest.sha256 regenerated.

🤖 Generated with Claude Code

The generated values hardcoded RESOURCE_LIMITS/REQUESTS to
cpu=2,memory=8Gi with no way to override — the 'default configuration'
was frozen. One env knob now sets both (requests == limits, Guaranteed
QoS, matching client-runtime's lockstep default):

    TRACEBLOC_TRAINING_RESOURCES="cpu=4,memory=16Gi" bash <(curl … i.sh)

Groundwork for the `tracebloc resources` command (design approved by
Lukas 2026-07-06): that command becomes the friendly layer over the
same chart values; this is the install-time escape hatch.

+2 bats tests (override lands in generated values; default unchanged).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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