Repository navigation
v0.2.0
karta v0.2.0
This release extends Karta from a CRD and Go library into an optional runnable system. It lands the controller / operator (reconcile core, workload-tree model, Helm chart, container images), and a new pod-grouping API for better schedulers integration, alongside a much larger catalog of built-in workload samples. There are no breaking API changes; the previous grouping format is deprecated but still works. See Deprecations for the recommended migration.
🌟 Highlights
| 🚀 Controller / operator | The reconcile core, an operator Helm chart, and container images all land, so Karta can now run as a controller rather than only being a CRD plus library. (#77, #97, #91) |
| 🌲 WorkloadTree | A WorkloadTree is the raw component hierarchy of a workload (its desired structure, scale, specs, and status) produced by the Karta library, giving clients a single shared tree to traverse and render. (#87) |
| 🪶 New pod-grouping API | gangScheduling.podGroup adds subgroups and topology constraints for better schedulers integration; the old gangScheduling.podGroups is deprecated but still honored. (#145) |
📦 Install
Helm chart ( from GHCR ) :
helm install karta oci://ghcr.io/run-ai/karta/karta --version 0.2.0Go consumers :
go get github.com/run-ai/karta@v0.2.0import karta "github.com/run-ai/karta/pkg/api/runai/v1alpha1"📚 Compatibility
| Kubernetes | tested against v1.31 – v1.35 ( k8s.io/api v0.36.2 ) |
| Go | 1.26.3 or later |
| Helm | 3.14 or later |
⚠️ Deprecations
gangScheduling.podGroups → gangScheduling.podGroup
The alpha grouping format podGroups (a list) is deprecated in favor of the new podGroup mapping, which adds subgroups and topology constraints. Existing Kartas using podGroups continue to validate and run; migrate when convenient.
optimizationInstructions:
gangScheduling:
- podGroups:
- - name: job
- members:
- - componentName: launcher
- groupByKeyPaths:
- - .metadata.labels["training.kubeflow.org/job-name"]
- - componentName: worker
- groupByKeyPaths:
- - .metadata.labels["training.kubeflow.org/job-name"]
+ podGroup:
+ name: job
+ subGroups:
+ - componentName: launcher
+ - componentName: worker✨ New features
- Controller reconcile core — the operator's central reconcile logic. (#77 by @shaked-bouktus)
WorkloadTreedata model and builder — a typed tree that assembles a workload's root and child components. (#87 by @rogirun)- Operator Helm chart — deploy the karta operator via Helm. (#97 by @shaked-bouktus)
- Operator container images — Dockerfiles for the karta operator. (#91 by @shaked-bouktus)
- Operator Makefile — build / run targets for the operator. (#96 by @shaked-bouktus)
kartaCLI — CLI entrypoint and Cobra root command. (#127 by @rogirun)- New pod-grouping API —
gangScheduling.podGroupwith subgroups and topology. (#145 by @davidLif) - Kind-based e2e provisioner —
hack/e2espins up a kind cluster for end-to-end tests. (#144 by @AviadHayumi) - Expanded workload sample catalog — many additional built-in Karta samples across core, batch, training, serving, and Ray workloads. (#155 by @AviadHayumi)
- Grove
PodCliqueSetsample —grove.io/v1alpha1Karta example. (#66 by @shmuel-runai) - Milvus sample —
milvus.io/v1beta1Karta example. (#103 by @ronlv10) - Controller example with LWS — a worked controller example over LeaderWorkerSet. (#92 by @yuval-gr)
- Quickstart controller example — minimal controller to get started. (#84 by @yuval-gr)
🐛 Bug fixes
- Fix native resource discovery. (#132 by @shaked-bouktus)
- Avoid append aliasing of caller-owned component slices. (#129 by @ronlv10)
- Fix rayjob worker
instanceIdPathnesting in the sample. (#133 by @lavianalon) - Fix dependabot missing code generation failing CI. (#150 by @Isan-Rivkin)
🧹 Maintenance
- Bump Go to 1.26.3 and update dependencies. (#75 by @yuval-gr)
- Update
golang.org/xdependencies to latest. (#93 by @yuval-gr) - Bump the go-minor-patch dependency group. (#136, #147 by @dependabot)
- Add
dependabot.ymlfor version updates. (#120 by @yuval-gr) - Create verified dependabot codegen commits via the GitHub API. (#153 by @Isan-Rivkin)
- CI action bumps: checkout 4→7 (#123), cache 4→6 (#122), setup-go 5→6 (#121), setup-buildx 3→4 (#146). (by @dependabot)
📖 Documentation
- Add an authoring tutorial and troubleshooting guide. (#130 by @lavianalon)
- Add ROADMAP and GOVERNANCE. (#89 by @lavianalon)
- Add a maintainer ladder / emeritus policy and RELEASE.md. (#128 by @lavianalon)
- Harden OSS health docs (security policy, code of conduct, contributing). (#111 by @lavianalon)
- Add README badges, community section, and CoC link. (#125 by @lavianalon)
- Add AGENTS.md guide for AI coding agents. (#73 by @lavianalon)
- Add a CLI high-level design document. (#31 by @ronlv10)
- Add KAI Scheduler to the "who uses Karta" section. (#156 by @lavianalon)
- Drop the API group rename from the roadmap and governance. (#119 by @lavianalon)
📊 Dependencies
Changed
- Go
1.25.9→1.26.3 k8s.io/apiv0.35.1→v0.36.2
🤝 Contributors
thanks to everyone who shipped this release :
@AviadHayumi , @Isan-Rivkin , @davidLif , @lavianalon , @rogirun , @ronlv10 , @shaked-bouktus , @shmuel-runai , @yuval-gr
plus automated dependency updates from @dependabot.
Full changelog : v0.1.0...v0.2.0
Helm chart : oci://ghcr.io/run-ai/karta:0.2.0
Container images : see packages page