ai-dynamo /grove

Kubernetes enhancements for Network Topology Aware Gang Scheduling & Autoscaling

★ 299⑂ 121👁 7⑃ 626● 394▤ 23
GoApache-2.0Created 2024-09-25
Download: v0.2.1-beta1v0.2.1-beta1 ↓12026-11-11
+0
Daily
299
stars
121
forks
7
watchers
626
prs
394
issues
23
releases

README

Grove





One API. Any inference architecture.

Grove is a Kubernetes API that provides a single declarative interface for orchestrating any AI inference workload — from simple, single-pod deployments to complex multi-node, disaggregated systems. Grove lets you scale your multinode inference deployment from a single replica to data center scale, supporting tens of thousands of GPUs. It allows you to describe your whole inference serving system in Kubernetes - e.g. prefill, decode, routing or any other component - as a single Custom Resource (CR). From that one spec, the platform coordinates hierarchical gang scheduling, topology‑aware placement, multi-level autoscaling and explicit startup ordering. You get precise control of how the system behaves without stitching together scripts, YAML files, or custom controllers.

 Quick Start on Local Kind Cluster

Get Grove running in 5 minutes on a local kind cluster.

bash
 1. Create a local kind cluster
cd operator && make kind-up

 2. Deploy Grove
make deploy

 3. Deploy your first workload
kubectl apply -f samples/simple/simple1.yaml

 4. Fetch the resources created by grove
kubectl get pcs,pclq,pcsg,pg,pod -o wide


Follow along with this example in the
→ Quickstart Doc

For more install options including local and remote K8s clusters, see the
→ Installation Docs

 Kubernetes Compatibility

Grove validates the following Kubernetes minor release lines in CI:

| Kubernetes | K3s image | CI coverage |
| :--- | :--- | :--- |
| 1.34 | rancher/k3s:v1.34.11-k3s1 | Compatibility smoke suite |
| 1.35 | rancher/k3s:v1.35.5-k3s1 | Regular E2E jobs |

The compatibility smoke suite exercises representative installation, scheduling, deletion, update, topology, and resource-sharing paths on the minimum supported version. Full behavioral coverage runs through the regular E2E jobs on Kubernetes 1.35. Scale, AutoMNNVL, startup-ordering, and upgrade tests remain on their dedicated CI targets.

 Motivation

Modern AI inference workloads need capabilities that Kubernetes natively doesn't provide out-of-the-box:

- Scaling for Multi-Node/Multi-Pod Units - Large models may be sharded across multiple nodes, meaning a single model instance spans multiple pods. In this case, the fundamental scaling unit is no longer an individual pod, but an entire group of pods that together form one model instance.
- Hierarchical Gang scheduling - Multi-node model instances require pods to be scheduled together; if only a subset of the required pods are scheduled, the model is unusable, resources remain idle, and the system can deadlock waiting for the remaining pods. Disaggregated inference has similar constraints: at least one prefill instance and one decode instance must be scheduled to form a functional pipeline. Therefore, gang scheduling must occur at multiple levels, ensuring required components start together as an all-or-nothing unit.
- Startup ordering - Even when components must be scheduled together (e.g., leader and worker pod

Top issues

Discussions

Latest release

v0.2.1-beta1 v0.2.1-beta1 2026-11-11
What's Changed
 chore: update golang.org/x modules and the operator base image by @danbar2 in https://github.com/ai-dynamo/grove/pull/995


Full Changelog: https://github.com/ai-dynamo/grove/compare/v0.2.0-beta1...v0.2.1-beta1

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON