KubeRay in production: best practices from the field
Blog post from Anyscale
Running Ray workloads with KubeRay in production requires additional operational practices as deployments grow across teams, clusters, and shared GPU infrastructure. Key challenges include preserving logs and events after ephemeral RayJobs terminate, detecting hardware failures that can appear as application errors, tuning autoscaling and scheduling for contention, protecting against head-node disruption, integrating with existing Kubernetes controls such as service meshes and quotas, and automating responses to critical alerts. Recommended approaches include using the KubeRay History Server and external log shipping, monitoring GPU health through NVIDIA DCGM and node taints, applying gang scheduling and autoscaler headroom, enabling GCS fault tolerance with isolated Redis instances, keeping Ray workloads in dedicated namespaces, and tracking ownership for cost attribution. The post argues that these measures can become a significant maintenance burden at fleet scale and presents Anyscale KubeRay Connect, a private-preview platform layer designed to add managed observability, telemetry collection, orchestration, security, governance, and support while retaining existing KubeRay, Kubernetes, Kueue, and GitOps workflows.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Kubernetes | 15 | 5,108 | 488 | 113 | +17% |
| TPUs | 2 | 304 | 17 | 8 | +275% |
| Observability | 1 | 3,060 | 732 | 183 | +11% |
| Platform Engineering | 1 | 2,012 | 397 | 100 | +19% |
| Real-time | 1 | 4,153 | 1,091 | 236 | -14% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.