Live
Consolidating State Health Agency Workflows with Gemini Agent SkillsAI agent database load: patterns, pitfalls, and ScyllaDB mitigationsAI agents for healthcare: deployment patterns and operational impact for cloud and DevOps teamsDesigning an Agent‑Ready Platform: Webflow’s Blueprint for Safe AI‑Generated CodeSelf‑service scaling to 5,000 GKE nodes in under five minutesStable Kubernetes Foundations Power AI Agent Workloads on Amazon EKSObject‑Level RBAC in Basin Catalog: Granular Permissions for EngineersEvidence‑Driven Trustworthy AI Models: What Engineers Need to Adjust TodayConsolidating State Health Agency Workflows with Gemini Agent SkillsAI agent database load: patterns, pitfalls, and ScyllaDB mitigationsAI agents for healthcare: deployment patterns and operational impact for cloud and DevOps teamsDesigning an Agent‑Ready Platform: Webflow’s Blueprint for Safe AI‑Generated CodeSelf‑service scaling to 5,000 GKE nodes in under five minutesStable Kubernetes Foundations Power AI Agent Workloads on Amazon EKSObject‑Level RBAC in Basin Catalog: Granular Permissions for EngineersEvidence‑Driven Trustworthy AI Models: What Engineers Need to Adjust Today
Google Cloud

Unified Observability for Ray on GKE: Integrated Logs, Events, and TPU Traces

AI SummaryPowered by AI

Ray 2.56+ now surfaces Kubernetes platform events, hardware fault reports, on‑demand TPU JAX profiling, and structured logs directly in the Ray Dashboard and Cloud Logging. This consolidation reduces context‑switching and gives engineers a single source of truth for debugging distributed AI workloads on GKE.

Ray on Google Kubernetes Engine (GKE) has been updated to surface the full stack of operational data—Kubernetes events, node‑level fault signals, TPU profiling traces, and structured logs—within the Ray Dashboard and Cloud Logging. The change eliminates the need to jump between the Ray UI, kubectl, and separate logging or profiling tools, giving AI, platform, and SRE teams a coherent view of failure causes.

Platform Events in the Ray Dashboard

Starting with Ray 2.56, a new Platform Events tab displays Kubernetes activity alongside tasks and actors. The dashboard now shows events such as CreatedWorkerPod, FailedScheduling, OOMKilled, and Evicted on the same timeline as Ray workloads. Initial support covered RayCluster, RayJob, and RayService resources; Ray 2.58 extended visibility to individual Pods. Under the hood, Ray records these as a generic PlatformEvent type, keeping the schema scheduler‑agnostic and allowing future extensions to other orchestrators.

Node and Hardware Fault Forwarding

When a node‑level GPU or host fault occurs, the Ray Operator now forwards that signal to the specific Ray cluster affected. This automatic routing means a failing GPU is reflected in the Ray Dashboard without manual correlation, helping SREs pinpoint hardware degradation before it cascades into job failures.

On‑Demand JAX Profiling on Cloud TPUs

Ray 2.56 adds the ability to capture XLA traces from live TPU workers running JAX workloads. Engineers can trigger profiling from the Ray Dashboard, retrieve the trace, and inspect it in the managed XProf service. The feature is limited to Ray TPU workers and provides a direct path from a distributed job to low‑level performance data.

Structured Ray Logs in Cloud Logging

Ray now emits logs in a structured format that includes job_id, actor_id, and task_id. These fields are indexed automatically in Cloud Logging, enabling queries that aggregate logs by logical Ray entities. The change removes the need for custom log parsers and supports existing log‑export pipelines.

Related CloudNinjas coverage: Google Cloud.

What This Means For Practitioners

AI engineers gain immediate visibility into why a RayActorError occurred—whether it stems from code, a Kubernetes eviction, or a hardware fault—without leaving the dashboard. Platform engineers can enable the feature with a few YAML lines and an RBAC role, simplifying the observability stack. SRE teams benefit from unified event pipelines that feed both Ray‑specific and Kubernetes‑wide signals to external backends, reducing alert fatigue. Security engineers should note that the new PlatformEvent objects travel through the same export path as task events, so any downstream log‑processing controls must accommodate the expanded schema.

Next steps include validating the RBAC configuration for the added event export, testing the TPU profiling trigger in a staging environment, and updating alerting rules to incorporate the new structured log fields. Monitoring the adoption of the Platform Events tab will reveal whether the consolidated view reduces mean‑time‑to‑resolution for distributed job failures.

Originally published atGoogle Cloud Blog