Repository navigation
fix(helm): set control plane resource budgets - #6018
Merged
Merged
Conversation
|
🌿 Preview your docs: https://nvidia-preview-pr-6018.docs.buildwithfern.com/openshell |
This was referenced Nov 26, 2026
github-actions
Bot
requested review from
FrostGod,
TaylorMutch,
alangou,
drew,
elezar,
johntmyers,
krishicks,
matthewgrossman,
mrunalp,
pimlock,
purp and
russellb
November 26, 2026 17:15
Contributor
|
Two upgrade effects the release note should state:
Signed-off-by: @alangou |
SDAChess
force-pushed
the
fix/6016-resource-defaults/SDAChess
branch
from
November 27, 2026 11:12
ea5022e to
40b87ab
Compare
alangou
previously approved these changes
Nov 27, 2026
SDAChess
dismissed
alangou’s stale review
November 27, 2026 12:43
The merge-base changed after approval.
SDAChess
force-pushed
the
fix/6016-resource-defaults/SDAChess
branch
from
November 27, 2026 12:58
40b87ab to
eb4b6d1
Compare
Contributor
Author
|
@alangou please reapprove the final rebased head. #6014 is now merged, and this PR targets main independently to avoid further parent-merge retargets. |
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
SDAChess
force-pushed
the
fix/6016-resource-defaults/SDAChess
branch
from
November 27, 2026 13:18
eb4b6d1 to
f35ed22
Compare
alangou
approved these changes
Nov 27, 2026
SDAChess
enabled stacked auto-merge
November 27, 2026 13:20
SDAChess
disabled stacked auto-merge
November 27, 2026 13:20
SDAChess
enabled stacked auto-merge
November 27, 2026 13:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Set configurable gateway and shared-supervisor CPU/memory budgets instead of leaving both unbounded. This removes the missing-resource Trivy findings from all scanned chart profiles.
Stack: #6018 → #6020 → #6021 (native stack #6037, based on
main).Related Issue
Closes #6016
Changes
500mCPU /512Mi, limits2CPUs /2Gi; shared supervisors request250m/768Mi, limits1CPU /1.5Gi.nullremoval, with chart coverage for both gateway workload kinds and supervisor budgets.The requests follow existing chart guidance. The supplied performance measurements at
624aceea3show roughly 414m gateway CPU and 237m supervisor CPU per 100 sandboxes under mixed load; separate heap profiles show about 4Mi of retained gateway log-tail heap per used sandbox. These inform initial budgets, not a maximum supported workload or a new capacity guarantee.Release Notes
Upgrades that adopt chart defaults now apply resource requests and limits. Existing installs that never set
resourcesgain a 2Gi gateway memory limit and can be OOM-killed if their current usage exceeds it. Helm also merges requests-only overrides with default limits: for example,resources.requests.memory=4Giretains the 2Gi limit and Kubernetes rejects the Pod because its request exceeds its limit. Set matching limits for your workload or remove limits explicitly before upgrading. Empty maps retain defaults; useresources: null/supervisor.resources: nullto omit budgets, or set theirlimitstonullto omit limits.Testing
Verified the requests-only
4Giexample retains the default2Gilimit; published upgrade guidance now warns about this and OOM risk.519 gateway chart tests and 7 workspace tests pass.
All chart fixture lint/render checks and generated README checks pass.
Complete
mise run helm:testpasses, including the Rust loader, resource coherence, ownership and pool scaling checks. The first CI run exposed an obsolete shell assertion expecting no supervisor resources; it now verifies defaults and explicit removal.Full-severity Trivy scans across defaults, static manifests and 14 profiles remove KSV-0011/0015/0016/0018 with no new findings.
Markdown lint passes; Fern reports zero errors and three existing warnings.
Combined stack including the merged gateway filesystem hardening: 524 gateway tests, 7 workspace tests and all Helm lint/render checks pass.
Combined-stack core E2E, Kubernetes HA and credential-driver E2E pass on ci(trivy): remove obsolete bootstrap manifests #6021 at
fb6dfd608(CI run).Restored the native stack on main at
2cd4f5384; range-diff confirms every patch is unchanged. The combined tree matches the previously validated tree apart from two upstream CI workflow changes. Local validation: 524 gateway / 7 workspace tests, complete Helm tests, lint and generated README checks, Markdown lint and Fern build, and full-severity Trivy comparison across all 16 scan targets with no new findings.Refreshed-head CI.
Checklist