Skip to content

v0.2.0

Choose a tag to compare

@AviadHayumi AviadHayumi released this 15 Jul 13:50
· 24 commits to v0.2 since this release
f3187d6

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.0

Go consumers :

go get github.com/run-ai/karta@v0.2.0
import 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)
  • WorkloadTree data 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)
  • karta CLI — CLI entrypoint and Cobra root command. (#127 by @rogirun)
  • New pod-grouping API — gangScheduling.podGroup with subgroups and topology. (#145 by @davidLif)
  • Kind-based e2e provisioner — hack/e2e spins 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 PodCliqueSet sample — grove.io/v1alpha1 Karta example. (#66 by @shmuel-runai)
  • Milvus sample — milvus.io/v1beta1 Karta 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

🧹 Maintenance

📖 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/api v0.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