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

kubeflow / trainer / 29758781335 / 1
68%
master: 68%

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2026 04:19PM UTC
Files 42
Run time 2s
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

20 Jul 2026 04:15PM UTC coverage: 68.256% (-0.04%) from 68.299%
29758781335.1

push

github

web-flow
fix(runtimes): merge resourcesPerNode with Runtime container resources (#3602)

* fix(controller): merge resourcesPerNode with Runtime container resources

When a TrainJob sets resourcesPerNode, merge it with the referenced
Runtime's node container resources instead of replacing the entire block.
TrainJob keys override matching keys; unset keys inherit from the Runtime.

This fixes the case where specifying only GPU silently drops CPU/memory
from the Runtime and pushes pods to BestEffort QoS.

Fixes kubeflow/trainer#3551

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fix(controller): address review feedback for resourcesPerNode merge

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fix(runtimes): use SMP for claims merge and deduplicate apply path

- Replace manual merge with Strategic Merge Patch so Claims are merged
  by name (patchMergeKey:name), consistent with Limits and Requests
- Move resource merge before FromTypedObjWithFields to keep typed spec
  and apply configuration in sync, removing duplicated inline patching
- Extract MergeResourceRequirements into pkg/runtime for isolated testing
- Add merged_resourcesPerNode case to TestTrainingRuntimeNewObjects

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fix(runtimes): move MergeResourceRequirements to util and drop unused helpers

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fold MergeResourceRequirements into trainingruntime.go

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fix(runtimes): fold resource merge into ReplicatedJobs loop

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fix(runtimes): fold resource merge into ReplicatedJobs loop

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

---------

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

2548 of 3733 relevant lines covered (68.26%)

0.8 hits per line

Source Files on job 29758781335.1
  • Tree
  • List 42
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29758781335
  • 67c11444 on github
  • Prev Job for on master (#29756975521.1)
  • Next Job for on master (#29761615570.1)
  • 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