• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NVIDIA / nodewright / 41511736622
84%

Build:
DEFAULT BRANCH: main
Ran 02 Nov 2026 07:58PM UTC
Jobs 1
Files 60
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Nov 2026 07:37PM UTC coverage: 83.932% (+0.04%) from 83.894%
41511736622

push

github

web-flow
feat(operator): set a soft memory limit from the container memory limit (#932)

Nothing set GOMEMLIMIT, so with the default GOGC=100 the heap grew to
about twice the live heap before a collection and the container limit had
to cover that, with an OOM kill as the only signal of a limit set too low.

At startup the manager now reads the container's memory limit from cgroup
v2 (memory.max) or v1 (memory/memory.limit_in_bytes) and sets the Go soft
memory limit to GOMEMLIMIT_FRACTION of it, 0.9 by default. An explicit
GOMEMLIMIT wins, a container without a limit is left alone, and a fraction
outside (0, 1] fails startup. The chart exposes the fraction as
controllerManager.manager.env.memoryLimitFraction, and
resources-at-scale.md covers sizing, including the GC CPU cost of a soft
limit near the live heap.

Closes #904

Signed-off-by: Brian Lockwood <lockwobr@gmail.com>

53 of 60 new or added lines in 2 files covered. (88.33%)

10447 of 12447 relevant lines covered (83.93%)

7.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
92.45
operator/internal/memlimit/memlimit.go
3
48.75
0.19% operator/cmd/manager/main.go
Jobs
ID Job ID Ran Files Coverage
1 41511736622.1 02 Nov 2026 07:58PM UTC 60
83.93
GitHub Action Run
Source Files on build 41511736622
  • Tree
  • List 60
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41511736622
  • f44383ff on github
  • Prev Build on main (#41495230465)
  • Next Build on main (#41515715965)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc