BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News CNCF Accepts KubeRay as a Sandbox Project

CNCF Accepts KubeRay as a Sandbox Project

Listen to this article -  0:00

The Cloud Native Computing Foundation (CNCF) has accepted KubeRay as a sandbox project. The Kubernetes operator gives teams running Ray workloads a way to manage distributed clusters and jobs through Kubernetes resources, while the move brings the project under CNCF governance.

The CNCF project listing records KubeRay’s sandbox acceptance date as September 28, 2026. The KubeRay maintainers announced the donation on November 10. They described the move as part of an effort to put the open-source components of the PyTorch, AI models, Ray and Kubernetes stack under Linux Foundation governance. The announcement concerns the project's governance; it does not describe a new KubeRay release.

Sandbox is CNCF’s entry-level project maturity stage, rather than a certification of production readiness.

KubeRay runs Ray nodes as Kubernetes pods, with a head pod coordinating a set of worker pods. Its operator manages custom resources that let platform teams describe the clusters and workloads they want to run, rather than building their own lifecycle management around Kubernetes pods.

A RayCluster resource manages a cluster's lifecycle, including provisioning and autoscaling. The operator coordinates scaling with the Ray Autoscaler and supports fault tolerance for the Global Control Service, which manages cluster-level metadata, when explicitly configured. GCS fault tolerance is not enabled by default; the documented Redis-backed configuration requires an external Redis deployment. This gives teams a Kubernetes representation of a Ray cluster while leaving Ray responsible for coordinating its distributed work.

For batch workloads, RayJob can create a cluster and submit a job when the cluster is ready. Teams can configure it to delete the cluster after the job finishes; the shutdownAfterJobFinishes setting defaults to false. RayJob can also select an existing, long-running RayCluster through clusterSelector, allowing teams to reuse a cluster and avoid waiting for a new one to start for each submission.

For online inference, RayService manages a Ray cluster together with its Ray Serve deployments. It supports zero-downtime cluster upgrades and high-availability serving configurations, giving teams a way to update a serving workload without treating it as a short-lived batch job. Ray’s documentation recommends explicitly enabling GCS fault tolerance for highly available RayService deployments; creating a RayService alone does not enable it.

KubeRay sits alongside projects such as Kubeflow Trainer in the Kubernetes AI ecosystem, but operates at a different level. Trainer focuses on distributed model-training jobs across frameworks such as PyTorch and JAX, using Kubernetes-native building blocks including JobSet, which manages groups of Kubernetes Jobs as a unit. KubeRay instead manages the Ray runtime, supporting workloads that span training, data processing and serving. The projects are not mutually exclusive: Kubeflow and Ray can be used together.

KubeRay also integrates with Kubernetes scheduling tools. Kueue can queue Ray jobs and manage quotas, while Volcano provides queueing and fair-share scheduling policies. Gang scheduling can hold a group of related pods until the required resources are available, which matters when a distributed training job needs scarce accelerators together. These behaviours depend on the scheduler and its configuration.

For monitoring, Ray exposes metrics in Prometheus format, and the maintainers describe using Fluent Bit to collect logs from workers and jobs. Security integrations include mutual TLS for Ray cluster communication and Kubernetes network policies. Automated mTLS is an opt-in alpha feature introduced in KubeRay 1.7: it is disabled by default and requires cert-manager, the RayClusterMTLS feature gate and per-cluster configuration. KubeRay-managed network isolation is configured separately and requires the RayClusterNetworkPolicy feature gate. The CNCF move itself does not enable these features.

Kai-Hsun Chen, AI infrastructure lead at Hark and a KubeRay contributor, explained the company's use of the project: "Running multimodal AI workloads at scale requires a platform with tight integration between Python-first AI and Kubernetes." The maintainers have invited contributors to join the KubeRay channels on the CNCF or Ray Slack workspaces and attend the project's biweekly community meetings.

About the Author

Rate this Article

Adoption
Style

BT