CEOInterviews.AI
Start App
Get an email when Ion Stoica gives a new interview
One email per new interview. Unsubscribe in one click.
Ion Stoica
Cofounder, Databricks

Crossing the Divide: Co-Evolving Kubernetes and Ray for the AI Era - Jago Macleod & Ion Stoica

📅 Nov 12, 2026 PyTorch Foundation 26 MIN 31 VIEWS 35 SEGMENTS · 2 SPEAKERS
Crossing the Divide: Co-Evolving Kubernetes and Ray for the AI Era - Jago Macleod & Ion Stoica The AI workload orchestration landscape is currently split across two massive, parallel universes: the CNCF (the bedrock of cloud native and modern infrastructure) and the PyTorch Foundation (the epicenter of AI/ML innovation). While these foundations operate independently, the end user does not have the luxury of choosing just one. PyTorch Foundation contains PyTorch, vLLM, Ray, and more, while CNCF owns Kubernetes, Envoy, OpenTelemetry, llm-d, containerd and more. To build, deploy, and scale moder...

What Ion Stoica said

Written from the verified transcript and checked against it. Every figure links to the moment it was said.

Ion Stoica, Cofounder of Databricks, discussed how Ray and Kubernetes co-evolved to meet AI workload demands. He argued that for expensive workloads, every fraction of a percent costs billions, so layers must co-evolve closely rather than remain modular. Industry trends include complex RL pipelines, spinning up sandboxes for untrusted code, and heterogeneous hardware. Stoica detailed six case studies: topology-aware scheduling allowing zero-code training on GPUs or TPUs, multi-cluster serving with cooperative time slicing improving Gemma throughput by 4.4x for prefill-heavy and 24x for code-heavy workloads, reducing GPU usage by 66% and completion time by 30%, spinning up 100,000 gVisor sandboxes in under 20 seconds, vertical scaling via pod resizing from 8 to 16 GB RAM, forwarding Kubernetes events to Ray dashboard, and a hot standby head node. He highlighted KubeRay as the bridge and mentioned llm-d and Kueue as ecosystem tools.

Key takeaways

  1. Co-evolution of Ray and Kubernetes is driven by billion-dollar workloads where every fraction of a percent matters, making modular stacks obsolete.
  2. Sandboxing supports 100,000 gVisor isolated instances for untrusted code in under 20 seconds, with warm pod pools reclaiming pods in <200 ms.
  3. Cooperative time slicing cuts GPU usage by 66% and job completion time by 30% for three RL workloads.
  4. Kubernetes in-place pod resizing enables scaling Ray workers from 8 to 16 GB RAM without restart, improving utilization.
  5. Hot standby head node in Ray ensures transparent failover using Kubernetes leader election and routing constructs.

Numbers and commitments

FigureWhat it refers toTypeAt
4.4 times Gemma prefill-heavy throughput improvement metric 13:14
24 times Gemma code-heavy workload throughput improvement metric 13:14
66% GPU usage reduction via time slicing metric 15:22
30% Job completion time reduction with time slicing metric 15:22
100,000 Sandbox spin-up count metric 16:04
less than 20 seconds Sandbox spin-up time timeline 16:04
less than 200 milliseconds Pod reclaim time from warm pools timeline 16:04
8 gigabytes Actor RAM before resize metric 17:16
16 gigabytes Actor RAM after resize metric 17:16

Chapters

  1. 0:00Industry trends driving co-evolution
  2. 5:11Ray's evolution to RL pipelines
  3. 6:17Kubernetes as distributed OS
  4. 11:16Topology-aware scheduling
  5. 12:25Multi-cluster serving and time slicing
  6. 16:04Sandboxes for untrusted code
  7. 17:16Vertical scaling with pod resize
  8. 18:54Cross-layer telemetry
  9. 20:01Head node reliability
  10. 24:48Open challenges and invitation
Jago Macleod 0:00 ↗
Hi everybody. Thanks for coming today. I'm Jago Macleod, and I'm joined by Ion Stoica, who you saw this morning talking about Ray. And we're going to talk about an interesting topic about how Kubernetes and Ray have been co-evolving over the past few years from a sort of distinct silos into sort of a coordinated ecosystem of ecosystems. And so we're going to cover that topic.
So you'll all, or some of you, will remember the LAMP stack back in the early days, and this concept of multiple projects that work really well together resonates well with all of us at different layers. So this emerging concept of the PAK stack seems to be landing well in our ecosystem, and it's sort of the PyTorch, the models themselves, and then Ray as a distributed runtime, and Kubernetes as a cluster operating system. And there's some glue that ties these things together: the Kube operator in the Kubernetes ecosystem. An operator is a way to extend the Kubernetes API to know about core concepts beyond those that are built into Kubernetes itself. And so you have sort of the PyTorch Foundation where we are right now. This is sort of the machine learning and application layer, and really built for ML engineers.
And then the CNCF is a related ecosystem and foundation under the Linux Foundation umbrella as well. And it's really built for platform teams. So the platform engineers are really our end users for the most part. And despite them being in different foundations, these projects really are super interconnected, and we're going to tell some of the story about how it became that way.
So today on GCP, I work at Google, and more than 85% of Ray runs on Kubernetes in GCP. Most of it on GKE, some of it on GCE VMs and running do-it-yourself Kubernetes. But it's the vast majority of Ray runs on Kubernetes. And I think just this year we saw the majority of Ray worldwide now runs on Kubernetes as well. So this really is the default path forward. And our goal all along has been to enable Ray to succeed because of Kubernetes, not in spite of Kubernetes, and that was not always the case.
So there are these different layers, and abstractions are really useful, but today more than ever, we don't have any budget for abstractions that cost performance. So this is really critical and key in our goals is to provide the right abstractions, but then once it's at runtime, you got to get out of the way and let the raw performance come through.
Now I'm going to hand over to Ion to talk about some of the industry trends and Ray's evolution, and then we'll go on.
Ion Stoica 3:19 ↗
Yeah, thank you, Jago, and yeah, very excited. And just I want to make clear one point. So today what we are seeing is that, yeah, you don't have budget for abstraction. So because these kind of workloads cost so much to run, like billions of dollars, every percent or even fraction of percent matters. So we are no longer going to have this kind of very modular stack in which you have this kind of very abstractions which are stable over a long time interval, and then you are going to build on top of those. So the only other way to still provide this kind of layering is that layers are going to co-evolve to interoperate very closely.
So now back to what happens in the kind of industry trends which push some of these kind of co-evolutions. A few things. So AI moved from single monolithic pre-training jobs to complex RL pipelines and multi-model, multi-node serving. Then the workloads such as RL now and RL rollouts and agentic evaluations require spinning off hundreds of thousands of sandboxes to run untrusted code. And finally, like actually I mentioned in the morning, workloads like RL are highly heterogeneous, right? They require CPUs, TPUs, GPUs, and they need to run over reserved, like, and dynamic work scheduled and spot capacity.
And in this context, obviously, also Ray has to evolve. Initially, Ray was a distributed framework for building these distributed applications in Python, providing this very general actor and task abstractions. But of course it evolves then to scaling training libraries based on PyTorch or Torch TPUs, and then low-latency vLLM serving, and then finally evolves to orchestrating these complex RL pipelines, like vLLM and many other RL frameworks, by which requires again spinning up sandboxes directly from Python, at the same time consuming the native events from Kubernetes.
Now back to Jago to tell you a little bit about how this impacted also the evolution of Kubernetes.

3 more exchanges in this transcript

Sign in free to read the rest of this interview. No card required.

Sign in to read the full transcript

Cite this transcript

APA, MLA, BibTeX
APA

Stoica, I. (2026, November 12). Crossing the Divide: Co-Evolving Kubernetes and Ray for the AI Era - Jago Macleod & Ion Stoica [Interview transcript]. PyTorch Foundation. CEOInterviews.AI. https://ceointerviews.ai/interview/3282456/

MLA

Ion Stoica. "Crossing the Divide: Co-Evolving Kubernetes and Ray for the AI Era - Jago Macleod & Ion Stoica." PyTorch Foundation, 12 Nov. 2026. Transcript, CEOInterviews.AI, https://ceointerviews.ai/interview/3282456/.

BibTeX
@misc{stoica2026_3282456,
  author       = {Ion Stoica},
  title        = {Crossing the Divide: Co-Evolving Kubernetes and Ray for the AI Era - Jago Macleod \& Ion Stoica},
  howpublished = {Interview transcript, PyTorch Foundation. CEOInterviews.AI},
  year         = {2026},
  month        = {nov},
  url          = {https://ceointerviews.ai/interview/3282456/},
  note         = {Speaker-attributed transcript with timestamps}
}