Open Source

KubeRay

The open-source Kubernetes operator for running and managing Ray on Kubernetes.

Watch the talk: Scaling Frontier AI with Ray on Kubernetes | KubeRay | Ray Summit 2026

contributors

A joint effort across the industry

anyscale-logo-black
Google
Instacart Black
Lila Sciences

what is it?

The bridge between Kubernetes & Ray

KubeRay lets Kubernetes run Ray, handling cluster setup, scaling, and cleanup
so teams can focus on their workloads.

kuberay-marchitecture

why kuberay

Deploy Ray in production

card-Runs where you are
Runs where you are

Installs the KubeRay operator into an existing Kubernetes cluster. No new infrastructure to stand up.

card-Built for how Ray runs
Built for how Ray runs

RayCluster, RayJob, RayService map onto Ray workload shapes.

card-Backed by the community
Backed by the community

Maintained in the open by Anyscale, Google, and many more contributors.

We are using this stack to bring together the best parts of Kubernetes and KubeRay with Anyscale, as we advance our mission to build scientific superintelligence.”
Lila avatar
Lila
Lila
Lila Sciences

why not just kubernetes

One distributed system running on another

Ray spreads work across a head node and workers that scale together. Kubernetes treats every pod as interchangeable, so a generic deployment struggles to coordinate the two.

Hand-rolled on plain Kubernetes With KubeRay
One RayCluster resource reconciles head and workers as a unit One RayCluster resource reconciles head and workers as a unit
HPA scales on CPU/memory, not on pending Ray tasks & actors Ray autoscaler adds and removes workers based on Ray’s resource demand
Finished job leaves clusters running; upgrades drop
serving traffic RayJob cleans up when job ends; RayService upgrades with zero downtime and high availability
Batch schedulers see individual pods, but do not start together Gang scheduling through Kueue, NVIDIA KAI Scheduler, Volcano, or YuniKorn
Dashboard, metrics, and ingress stitched together per cluster Ray Dashboard & Prometheus for jobs, actors, and cluster metrics exposed for every cluster
No Ray aware hooks for existing Kubernetes tooling Works with Kueue, Argo CD, and Kyverno out of the box

Streamline day one onboarding to production

A RayCluster CRD bootstraps a head pod and every worker pod as a single unit. They discover each other automatically without any manual networking or service wiring required.

zsh · your cluster
1# 1. Install the operator
2$ helm repo add kuberay https://ray-project.github.io/kuberay-helm
3
4install kuberay-operator kuberay/kuberay-operator
5
6# 2. Launch a Ray cluster
7$ helm install raycluster kuberay/ray-cluster
8$ kubectl get rayclusters
9
10NAME
11raycluster-kuberay
12
13DESIRED WORKERS
141
15
16AVAILABLE WORKERS
171
18
19STATUS
20ready

kuberay + anyscale

Keep your clusters.
Add a control plane.

Anyscale KubeRay Connect adds agentic developer experience & full-stack observability on top without migrating workloads.

 
KubeRay (Open Source)
Anyscale KubeRay Connect
Ray cluster lifecycle on Kubernetes Supported Supported
Autoscaling on Ray Demand Supported Supported
Fleet scheduling across clusters Not specified Supported
Unified observability across clusters Not specified Supported
[Capability to confirm] Not specified Supported
Support Community (Slack & Github) Enterprise Support Tier

Frequently Asked Questions