About the K8 autoscaler YAML files to use

Hi there,

From the documentation pages, it is possible to use the operator which requires the application of 3 .yaml files when one follows the setup steps from Deploying on Kubernetes — Ray v2.0.0.dev0

However, there’s another set of .yaml files under https://github.com/ray-project/ray/blob/master/python/ray/autoscaler/kubernetes/ that have a different autoscaler setup. I could not find documentation on how to use them. The question is: When is it recommended to use the later set of .yaml files? and whether there is documentation about the way to use them. Thanks!

It’s recommended to use the Operator.

The other set is for use with the Ray Cluster Launcher –
we plan to deprecate using the cluster launcher with K8s, but you can find documentation on it here: Deploying on Kubernetes — Ray v2.0.0.dev0

See also the discussion here Deploying on Kubernetes — Ray v2.0.0.dev0.