Google Cloud now shows Kubernetes platform events, such as Pod evictions and out-of-memory kills, inside the Ray Dashboard for Ray on Google Kubernetes Engine (GKE). Google Cloud says it built the capabilities with Anyscale and the open-source community, in the Ray and KubeRay projects and the managed Ray Operator add-on.
Ray is a framework for running distributed AI jobs, and GKE is Google's managed Kubernetes service. Until now, finding why a worker died meant running kubectl get events, a Kubernetes command-line tool. If the Pod had been garbage-collected, that trail could be gone. Users without kubectl access had to file a ticket.
A new Platform Events tab arrived in Ray 2.56, first covering RayCluster, RayJob and RayService resources. Ray 2.58 extended it to individual Pods. Events such as CreatedWorkerPod, FailedScheduling, OOMKilled and Evicted appear on the same timeline as tasks and actors. Ray stores them as a platform-agnostic event type, and they flow through its standard event pipeline to any external backend already receiving task and actor events.
Google Cloud lists three more capabilities: forwarding of node-level GPU and host faults to the Ray clusters they affect, on-demand JAX profiling of live Cloud TPU workers with traces viewed in managed XProf, and structured Ray logs in Cloud Logging queryable by job_id, actor_id and task_id.
Source: Google Cloud announcement.