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

kubernetes-sigs / lws / 25285088334
44%
main: 44%

Build:
Build:
LAST BUILD BRANCH: kep/666-gang-scheduling-in-lws
DEFAULT BRANCH: main
Ran 03 May 2026 04:56PM UTC
Jobs 1
Files 20
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

03 May 2026 04:53PM UTC coverage: 44.419%. Remained the same
25285088334

Pull #844

github

yankay
KEP-666: Gang Scheduling in LWS

Initial draft of KEP-666: integrate the upstream
scheduling.k8s.io/v1alpha2 Workload and PodGroup APIs as a
gang-scheduling provider for LeaderWorkerSet, alongside the existing
third-party path in KEP-407.

- One PodGroup per replica: an LWS with replicas=N, size=M produces N
  PodGroups, each with MinCount=M, so each replica is an independent
  all-or-nothing scheduling unit.
- Empty GangSchedulingPolicy alpha API; MinCount is always
  LeaderWorkerTemplate.Size, and gang + StartupPolicy=LeaderReady is
  rejected at admission since alpha2 has no MinResources to express a
  leader-first gang.
- Lifecycle invariants for first creation, scale, surge, rolling
  update, Size change (KEP-552), revision reuse, and LWS deletion;
  PodGroup spec is never mutated thanks to the per-Size-change
  delete-and-recreate flow performed before the StatefulSet template
  is updated.
- Failure modes split into two cases: missing alpha2 CRDs (the LWS
  controller create-Workload / create-PodGroup calls fail) and a
  disabled GenericWorkload gate (spec.schedulingGroup is silently
  stripped from pods). The LWS admission webhook detects the CRD case
  via API discovery and rejects gang != nil, pointing users back to
  KEP-407.
- Beta migration path for KEP-5832's deletion-protection finalizer is
  captured under Graduation Criteria (push upstream gang.minCount
  mutability, switch to revision-keyed PodGroup names, or reject Size
  mutation when gang != nil).
- Test Plan covers the two webhook rejection rules, controller object
  builders, and the lifecycle invariants; e2e is deferred until
  upstream CRDs and a gang-scheduling scheduler build are available
  in CI.

Signed-off-by: Kay Yan <kay.yan@daocloud.io>
Pull Request #844: KEP-666: Gang Scheduling in LWS

1182 of 2661 relevant lines covered (44.42%)

2.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25285088334.1 03 May 2026 04:56PM UTC 20
44.42
GitHub Action Run
Source Files on build 25285088334
  • Tree
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #844
  • PR Base - main (#25226707209)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc