Workload Map v0.2
Workload Map v0.2 extends the project from a CRD and Go library into a runnable system. It adds the controller and operator, a Helm chart, container images, a new pod-grouping API for scheduler integrations, and a larger catalog of built-in workload definitions. There are no breaking API changes.
Deprecation
gangScheduling.podGroups is deprecated in favor of gangScheduling.podGroup. Existing definitions that use podGroups continue to validate and run.
Deprecations
- The
podGroupformat adds subgroups and topology constraints. The two formats are not equivalent. ApodGroupsmember can carrygroupByKeyPathsandfilters, but asubGroupsentry carries onlycomponentNameandtopology. - The instruction helpers in the Workload Map library read only
podGroups. A consumer that relies on those helpers for grouping loses its grouping if it switches formats. - Schedulers that support the new format read
podGroup. KAI Scheduler readspodGroupand falls back topodGroups.
New Features
- Controller and operator: The reconcile core, an operator Helm chart, and container images let Workload Map run as a controller.
- WorkloadTree: A
WorkloadTreeis the component hierarchy of a workload, with its desired structure, scale, specs, and status. The library produces it so that clients share one tree to traverse and render. - Pod-grouping API:
gangScheduling.podGroupadds subgroups and topology constraints for scheduler integrations. - Catalog: Many additional built-in definitions across core, batch, training, serving, and Ray workloads, including Grove
PodCliqueSetand Milvus. - Examples: A quickstart controller example and a worked controller example over LeaderWorkerSet.
- CLI: The first
kartaCLI entry point.
Compatibility
- Kubernetes: Tested against v1.31 through v1.35, with
k8s.io/apiv0.36.2. - Go: 1.26.3 or later.
- Helm: 3.14 or later.
Patch releases on the v0.2 line are listed on the GitHub Releases page.