Ray on GKE adds Kubernetes events, hardware fault forwarding, TPU traces and structured logs
Google has announced four observability features for Ray on Google Kubernetes Engine, built with Anyscale and the open-source community. They concern platform teams and ML engineers who run distributed Ray workloads on GKE.
What to do now
Google has announced four observability features for Ray running on Google Kubernetes Engine (GKE). The company says it built them over the past year with Anyscale and the open-source community. The work went into the upstream Ray and KubeRay projects and into the managed Ray Operator add-on for GKE.
The goal is to find out faster which layer caused a distributed job to fail. A RayActorError can come from a bug in the code, a worker Pod evicted by Kubernetes, or a failing GPU on the node. Until now, tracking it down meant moving between the Ray Dashboard, kubectl describe, Cloud Logging and node-level tooling.
The first feature brings Kubernetes platform events into the Ray Dashboard, next to tasks and actors. Google gives the example of a worker marked dead for missed heartbeats. The dashboard can now show whether the kubelet killed the Pod for exceeding its memory limit (OOMKilled) or whether a replacement Pod is stuck in FailedScheduling because the node pool ran out of capacity. Before, this required running kubectl get events. That trail could be lost if the Pod had already been garbage-collected, and data scientists without Kubernetes access were the most affected.
The second feature automatically forwards GPU and host faults detected on a node to the Ray clusters running there. The third applies to Cloud TPUs: XLA traces can be captured on demand from live Ray TPU workers through the Ray Dashboard, then inspected in the managed XProf service.
The fourth feature makes structured Ray logs the default. In Cloud Logging, they can be queried and aggregated by job_id, actor_id and task_id without extra configuration.
The post does not state which Ray, KubeRay or Ray Operator versions include these features. It also gives no availability dates and says nothing about pricing. Check the GKE and project documentation before planning a rollout.
What to do now
- Check the GKE, Ray and KubeRay documentation to find which versions include these features, since the announcement does not name them.
- Confirm whether your clusters use the managed Ray Operator add-on or a self-managed KubeRay install, so you know which upgrade path to plan.
- Update Cloud Logging queries and alerts to use the job_id, actor_id and task_id fields in structured Ray logs.
- If you run JAX workloads on Cloud TPUs, test capturing XLA traces from the Ray Dashboard and reviewing them in XProf.