2022-07-29 14:19:51 -07:00
# Ray on Kubernetes
(kuberay-index)=
## Overview
2022-08-04 10:07:15 -07:00
In this section we cover how to execute your distributed Ray programs on a Kubernetes cluster.
2022-07-29 14:19:51 -07:00
2022-08-04 10:07:15 -07:00
Using the [KubeRay Operator ](https://ray-project.github.io/kuberay/components/operator/ ) is the
recommended way to do so. The operator provides a Kubernetes-native way to manage Ray clusters.
Each Ray cluster consists of a head node pod and a collection of worker node pods. Optional
autoscaling support allows the KubeRay Operator to size your Ray clusters according to the
requirements of your Ray workload, adding and removing Ray pods as needed. KubeRay supports
heterogenous compute nodes (including GPUs) as well as running multiple Ray clusters with
different Ray versions in the same Kubernetes cluster.
```{eval-rst}
.. image:: /cluster/cluster_under_construction/ray-clusters-on-kubernetes/images/ray_on_kubernetes.png
:align: center
..
https://docs.google.com/drawings/d/1E3FQgWWLuj8y2zPdKXjoWKrfwgYXw6RV_FWRwK8dVlg/edit
```
Concretely you will learn how to:
- Set up and configure Ray on a Kubernetes cluster
- Deploy and monitor Ray applications
- Integrate Ray applications with Kubernetes networking
2022-07-29 14:19:51 -07:00
## Learn More
The Ray docs present all the information you need to start running Ray workloads on Kubernetes.
```{eval-rst}
.. panels::
:container: text-center
:column: col-lg-12 p-2
:card:
2022-08-02 15:58:23 -07:00
**Getting Started**
2022-07-29 14:19:51 -07:00
^^^
Learn how to start a Ray cluster and deploy Ray applications on Kubernetes.
+++
.. link-button:: kuberay-quickstart
:type: ref
:text: Get Started with Ray on Kubernetes
:classes: btn-outline-info btn-block
2022-08-01 19:30:41 -07:00
---
2022-08-02 15:58:23 -07:00
**Examples**
2022-08-01 19:30:41 -07:00
^^^
Try example Ray workloads on Kubernetes.
+++
.. link-button:: kuberay-examples
:type: ref
:text: Example workloads
:classes: btn-outline-info btn-block
2022-08-02 15:58:23 -07:00
---
**User Guides**
^^^
Learn best practices for configuring Ray clusters on Kubernetes.
+++
.. link-button:: kuberay-guides
:type: ref
:text: User Guides
:classes: btn-outline-info btn-block
2022-07-29 14:19:51 -07:00
```
## The KubeRay project
2022-08-04 10:07:15 -07:00
Ray's Kubernetes support is developed at the [KubeRay GitHub repository ](https://github.com/ray-project/kuberay ), under the broader [Ray project ](https://github.com/ray-project/ ). KubeRay is used by several companies to run production Ray deployments.
2022-07-29 14:19:51 -07:00
- Visit the [KubeRay GitHub repo ](https://github.com/ray-project/kuberay ) to track progress, report bugs, propose new features, or contribute to
the project.
- Check out the [KubeRay docs ](https://ray-project.github.io/kuberay/ ) for further technical information, developer guides,
and discussion of new and upcoming features.