Skip to content

Reduce default helm install job resources (remove 32 CPU / 32G limits) - #336

Closed
binbashing wants to merge 1 commit into
k3s-io:masterfrom
binbashing:fix/default-job-resources-no-high-limits
Closed

Reduce default helm install job resources (remove 32 CPU / 32G limits)#336
binbashing wants to merge 1 commit into
k3s-io:masterfrom
binbashing:fix/default-job-resources-no-high-limits

Conversation

@binbashing

@binbashing binbashing commented Jul 13, 2026

Copy link
Copy Markdown

Summary

This removes the high default limits from --job-resources in helm-controller.

Current default includes:

  • limits.cpu: 32
  • limits.memory: 32G

That default propagates to generated helm-install-* Jobs (for example Traefik install jobs in K3s), causing misleading capacity/monitoring signals.

Change

  • Keep default requests:
    • cpu: 0.1
    • memory: 10M
  • Remove default limits from the flag default JSON.

Why

  • Avoid surprising 32-core/32G defaults on short-lived installer jobs.
  • Keep behavior tunable for operators via JOB_RESOURCES.

Validation

  • go test ./...

Related

Signed-off-by: Matt Mahoney <binbashing@gmail.com>
@binbashing
binbashing force-pushed the fix/default-job-resources-no-high-limits branch from 1bc3338 to 6e5facb Compare July 13, 2026 03:45
@brandond

brandond commented Jul 13, 2026

Copy link
Copy Markdown
Member

No, this is intentional; see #301 for rationale.

See #324 (comment) if you want to configure or disable these limits.

@brandond brandond closed this Jul 13, 2026
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